Table of Contents

Method GetMembersOfGroup

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

GetMembersOfGroup(IEnumerable<ListControlItem>, ObjectUniqueId?)

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

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

Parameters

collection IEnumerable<ListControlItem>

The collection of ListControlItem.

group ObjectUniqueId?

The unique identifier for the group.

Returns

IEnumerable<ListControlItem>

Enumerable collection of ListControlItem belonging to the specified group.

Remarks

If group is null, an empty collection is returned.