TermCollection Class

Represents collection of Term objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<Term>
    Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection<Term>
      Microsoft.SharePoint.Taxonomy.Generic.TaxonomyItemCollection<Term>
        Microsoft.SharePoint.Taxonomy.TermCollection

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

Syntax

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

Remarks

This class provides standard support for the IEnumerator interface and the ICollection interface and an integer indexer through the GenericCollection base class. In addition it provides a string indexer based on the default Label object of the Term object 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

TermCollection Members

Microsoft.SharePoint.Taxonomy Namespace

GenericCollection<T>

TaxonomyItemCollection<T>