Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines 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
Boolean value that represents whether or not this Web site inherits its navigation.
Remarks
Note that because this node is tied to a PortalSiteMapProvider object with a specific NavigationType, there is no need to distinguish between global and current navigation when you use this property.