Share via


TermSet class

Represents a hierarchical or flat set of Term objects known as a "TermSet".

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Taxonomy.TaxonomyItem
      Microsoft.SharePoint.Client.Taxonomy.TermSetItem
        Microsoft.SharePoint.Client.Taxonomy.TermSet

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

Syntax

'Declaration
Public NotInheritable Class TermSet _
    Inherits TermSetItem
'Usage
Dim instance As TermSet
public sealed class TermSet : TermSetItem

Remarks

The TermSet object contains one or more child Term objects, and the root level of the hierarchy can be accessed through the Terms() property. Get Child Term objects with search methods such as GetTerms(String, Boolean). Permissions for editing the TermSet object and its child Term objects are defined on the parent TermGroup object of the current TermSet.

The TermSet object also provides properties to get and set values of the TermSet, such as name and description and a way to delete TermSet objects. Additionally, the TermSet object provides methods for checking changes on the TermSet.

The [TermSet] object derives from the TermSetItem base object, which provides additional behavior such as the ability to create child Term objects.

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

TermSet members

Microsoft.SharePoint.Client.Taxonomy namespace