PublishingWeb.InheritCurrentNavigation Property
Gets or sets whether the PublishingWeb object inherits the current navigation behavior.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property InheritCurrentNavigation As Boolean
Get
Set
'Usage
Dim instance As PublishingWeb
Dim value As Boolean
value = instance.InheritCurrentNavigation
instance.InheritCurrentNavigation = value
public bool InheritCurrentNavigation { get; set; }
Property Value
Type: System.Boolean
true to inherit the current navigation behavior; otherwise, false.
Remarks
To save changes after setting this property, call the Update method.