Share via


PortalWebSiteMapNode.InheritNavigation Property

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.

See Also

Reference

PortalWebSiteMapNode Class

PortalWebSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace

InheritGlobalNavigation

InheritCurrentNavigation

PortalWebSiteMapNode