Share via


Term class

Represents a Term or a Keyword in a managed metadata hierarchy.

Inheritance hierarchy

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

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

Syntax

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

Remarks

A Term is stored as a TermSetItem object in the TermStore object. It containsreferences to the parts that define a term set item.

A Term can be reused under different parents. It may have custom properties associated with it. It may have multiple Label objects associated with it for ifferent LCID.

When the IsKeyword property is set to true, the Term represents a Keyword. A Keyword does not have any children and is stored in Keyword TermSet.

Initalize a new instance of this class by using the CreateTerm() method, the static GetTerm method, or by getting it from a TermCollection object.

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

Term members

Microsoft.SharePoint.Client.Taxonomy namespace