Term.Parent property
Gets the parent Term object of the current Term.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.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.Client.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.