Freigeben über


Navigation.UseShared-Eigenschaft

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die Website Navigation erbt.

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

Syntax

'Declaration
Public Property UseShared As Boolean
    Get
    Set
'Usage
Dim instance As Navigation
Dim value As Boolean

value = instance.UseShared

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

Eigenschaftswert

Typ: System.Boolean
Gibt Booleantrue , wenn die Website Navigation; erbt andernfalls gibt falseaus. Der Standardwert ist.

Ausnahmen

Ausnahme Bedingung
[Microsoft.SharePoint.SPException]

Festlegen, um bei der Stammwebsite True zurück. Fehlercode:-2146232832.

Siehe auch

Referenz

Navigation Klasse

Navigation-Member

Microsoft.SharePoint.Client-Namespace