PortalWebSiteMapNode.InheritNavigation property

Gets a value that indicates whether this Web site inherits its navigation.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public bool InheritNavigation { get; }

Property value

Type: System.Boolean
true if this Web site inherits its navigation; otherwise, false.

Because this node is linked to a PortalSiteMapProvider object with a specific NavigationType, there is no need to distinguish between global and current navigation when you use this property.