Share via


Navigation.UseShared Property

Gets or sets a value that specifies whether the site inherits navigation.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property UseShared As Boolean
    Get
    Set
'Usage
Dim instance As Navigation
Dim value As Boolean

value = instance.UseShared

instance.UseShared = value
[RemoteAttribute]
public bool UseShared { get; set; }

Property Value

Type: System.Boolean
Returns Booleantrue if the site inherits navigation; otherwise, returns false. The default value is .

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Set to true on the root site. Error code: -2146232832.

See Also

Reference

Navigation Class

Navigation Members

Microsoft.SharePoint.Client Namespace