Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

© 2015 Microsoft