Table of Contents

Method GetOtherMembersOfGroup

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetOtherMembersOfGroup(IEnumerable<ListControlItem>, ObjectUniqueId?, ListControlItem)

Gets the members of a specific group within the collection except the specified item. Uses the Group property to filter items.

public static IEnumerable<ListControlItem> GetOtherMembersOfGroup(IEnumerable<ListControlItem> collection, ObjectUniqueId? group, ListControlItem excludeItem)

Parameters

collection IEnumerable<ListControlItem>

The collection of ListControlItem.

group ObjectUniqueId?

The unique identifier for the group.

excludeItem ListControlItem

The item to exclude from the results.

Returns

IEnumerable<ListControlItem>

Enumerable collection of ListControlItem belonging to the specified group except for the excluded item.

Remarks

If group is null, an empty collection is returned.