Compartilhar via


Term.TermSets Property

Gets the collection of all TermSet objects where the current Term object is located.

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

Syntax

'Declaration
Public ReadOnly Property TermSets As TermSetCollection
    Get
'Usage
Dim instance As Term
Dim value As TermSetCollection

value = instance.TermSets
public TermSetCollection TermSets { get; }

Property Value

Type: Microsoft.SharePoint.Taxonomy.TermSetCollection
A collection of TermSet objects

Exceptions

Exception Condition
ArgumentNullException

At least one of the TermSet objects where the Term is located is invalid.

Remarks

The returned collection includes the TermSet object where the current Term is stored, and all TermSet objects in which the Term is reused,

See Also

Reference

Term Class

Term Members

Microsoft.SharePoint.Taxonomy Namespace