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)
Syntax
'Declaration
<ObsoleteAttribute("Use PublishingWeb.Navigation.InheritCurrent instead.")> _
Public Property InheritCurrentNavigation As Boolean
Get
Set
'Usage
Dim instance As PublishingWeb
Dim value As Boolean
value = instance.InheritCurrentNavigation
instance.InheritCurrentNavigation = value
[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.
Remarks
To save changes after setting this property, call the Update method.