Term.Parent property

Gets the parent Term object of the current Term.

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

public Term Parent { get; }

Property value

Type: Microsoft.SharePoint.Taxonomy.Term
The parent Term of the current Term or a null reference (Nothing in Visual Basic) if this is the root Term or if the user does not have permissions to the parent Term.

ExceptionCondition
ArgumentNullException

The current Term is in a bad state.

This value is specific to the current TermSet object.

Show: