Condividi tramite


TermSetCollection Class

Represents a collection of TermSet objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<TermSet>
    Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection<TermSet>
      Microsoft.SharePoint.Taxonomy.Generic.TaxonomyItemCollection<TermSet>
        Microsoft.SharePoint.Taxonomy.TermSetCollection

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

Syntax

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

Remarks

This class provides standard support for the IEnumerator interface and ICollection object 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

TermSetCollection Members

Microsoft.SharePoint.Taxonomy Namespace

GenericCollection<T>

TaxonomyItemCollection<T>