Sdílet prostřednictvím


TermSet Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TermSet _
    Inherits TermSetItem
'Usage
Dim instance As TermSet
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
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 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

Reference

TermSet Members

Microsoft.SharePoint.Taxonomy Namespace