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)

public TermSetCollection TermSets { get; }

Property value

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


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

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