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)
Syntax
'Declaration
Public ReadOnly Property InheritNavigation As Boolean
Get
'Usage
Dim instance As PortalWebSiteMapNode
Dim value As Boolean
value = instance.InheritNavigation
public bool InheritNavigation { get; }
Property Value
Type: System.Boolean
true if this Web site inherits its navigation; otherwise, false.
Remarks
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.