Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

TermSet class

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

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
[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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.