TermStoreCollection Class

Represents a collection of TermStore objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<TermStore>
    Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection<TermStore>
      Microsoft.SharePoint.Taxonomy.TermStoreCollection

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

Syntax

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

Remarks

This class provides standard support for the IEnumerator interface and the ICollection interface and an integer indexer through the GenericCollection base class. Additionally, it provides a string indexer based on the Name property and a GUID indexer based on the 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

TermStoreCollection Members

Microsoft.SharePoint.Taxonomy Namespace

GenericCollection<T>

TaxonomyItemCollection<T>