TaxonomySiteMapNode.NavigationTerm property

SharePoint 2013

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)

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)

When a null reference (Nothing in Visual Basic) is returned, the object is a NavigationTermSet.