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