List.AllowContentTypes 属性

Gets a value that specifies whether the list supports content types.

命名空间:  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 ReadOnly Property AllowContentTypes As Boolean
    Get
用法
Dim instance As List
Dim value As Boolean

value = instance.AllowContentTypes
public bool AllowContentTypes { get; }

属性值

类型:System.Boolean
Returns Booleantrue if list supports content types otherwise returns false. The default value is

异常

异常 条件
UnauthorizedAccessException

The current user has insufficient permissions to perform the operation.

另请参阅

引用

List 类

List 成员

Microsoft.SharePoint.Client 命名空间