GroupCollection class

A collection of Group objects.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<Group>
    Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection<Group>
      Microsoft.SharePoint.Taxonomy.Generic.TaxonomyItemCollection<Group>
        Microsoft.SharePoint.Taxonomy.GroupCollection

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class GroupCollection _
    Inherits TaxonomyItemCollection(Of Group)
'Usage
Dim instance As GroupCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class GroupCollection : TaxonomyItemCollection<Group>

Remarks

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.

Thread safety

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

See also

Reference

GroupCollection members

Microsoft.SharePoint.Taxonomy namespace

GenericCollection<T>

TaxonomyItemCollection<T>