TaxonomySiteMapNode.NavigationTerm property
Gets a NavigationTerm object that the current TaxonomySiteMapNode object represents, or null if the object is a NavigationTermSet object.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property NavigationTerm As NavigationTerm
Get
'Usage
Dim instance As TaxonomySiteMapNode
Dim value As NavigationTerm
value = instance.NavigationTerm
public NavigationTerm NavigationTerm { get; }
Property value
Type: Microsoft.SharePoint.Publishing.Navigation.NavigationTerm
If the object is a NavigationTerm, then the NavigationTerm object; otherwise, a null reference (Nothing in Visual Basic)
Remarks
When a null reference (Nothing in Visual Basic) is returned, the object is a NavigationTermSet.