GroupCollection Class

A collection of Group objects.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class GroupCollection : TaxonomyItemCollection<Group>

This class provides standard support for the IEnumerator class and Icollection class support and an integer indexer through the GenericCollection<T> base class. Additionally, it provides a string indexer that is based on the Group.Name property and a GUID indexer based on the Group.Id property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.