Share via


Term.IsRoot property

Gets whether the current Term object is at the root of the TermSet object

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

Syntax

'Declaration
Public ReadOnly Property IsRoot As Boolean
    Get
'Usage
Dim instance As Term
Dim value As Boolean

value = instance.IsRoot
public bool IsRoot { get; }

Property value

Type: System.Boolean
true if the current Term is at the root of the TermSet; otherwise, false

See also

Reference

Term class

Term members

Microsoft.SharePoint.Taxonomy namespace