Navigation.UseShared 属性
获取集合中指定索引处的元素。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Property UseShared As Boolean
Get
Set
用法
Dim instance As Navigation
Dim value As Boolean
value = instance.UseShared
instance.UseShared = value
public bool UseShared { get; set; }
属性值
类型:System.Boolean
返回Booleantrue网站继承导航; 如果否则,返回false。默认值为。
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | 设置为 true 的根网站。错误代码 ︰-2146232832。 |