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.