Свойство List.ContentTypes
Gets the content types that are associated with the list.
Пространство имен: 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 ContentTypes As ContentTypeCollection
Get
'Применение
Dim instance As List
Dim value As ContentTypeCollection
value = instance.ContentTypes
public ContentTypeCollection ContentTypes { get; }
Значение свойства
Тип: Microsoft.SharePoint.Client.ContentTypeCollection
A ContentTypeCollection collection that contains the content types that are associated with the list.
Исключения
Исключение | Условие |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
Замечания
It must not be пустая ссылка (Nothing в Visual Basic).