Share via


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)

Syntax

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

value = instance.Parent
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.

Exceptions

Exception Condition
ArgumentNullException

The current Term is in a bad state.

Remarks

This value is specific to the current TermSet object.

See also

Reference

Term class

Term members

Microsoft.SharePoint.Taxonomy namespace