Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InheritCurrentNavigation property

PublishingWeb.InheritCurrentNavigation property

NOTE: This API is now obsolete.

Gets or sets a value that indicates whether the current navigation should be inherited.

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

[ObsoleteAttribute("Use PublishingWeb.Navigation.InheritCurrent instead.")]
public bool InheritCurrentNavigation { get; set; }

Property value

Type: System.Boolean
true if the navigation should be inherited; otherwise, false.

To save changes after setting this property, call the Update method.

Show:
© 2015 Microsoft