Share via


Term.TermSets property

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

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.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.Client.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.Client.Taxonomy namespace