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)

public bool IsRoot { get; }

Property value

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