Свойство 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. |