Navigation.UseShared - Propriété
Gets or sets a value that specifies whether the site inherits navigation.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property UseShared As Boolean
Get
Set
'Utilisation
Dim instance As Navigation
Dim value As Boolean
value = instance.UseShared
instance.UseShared = value
public bool UseShared { get; set; }
Valeur de propriété
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. |