SPNavigation.UseShared property

Gets or sets a Boolean value specifying whether the Web site inherits navigation.

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

Public Property UseShared As Boolean
Dim instance As SPNavigation
Dim value As Boolean

value = instance.UseShared

instance.UseShared = value

Property value

Type: System.Boolean
Returns true if the Web site inherits navigation; otherwise returns false.

If you change settings, the new settings takes effect immediately and does not require a call to the Update method.


This property cannot be set to true on the root Web site of a site collection.