TermSet class

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

Inheritance hierarchy


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


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TermSet _
    Inherits TermSetItem
Dim instance As TermSet
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TermSet : TermSetItem


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 Group 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


TermSet members

Microsoft.SharePoint.Taxonomy namespace