Поделиться через


Свойство Web.ContentTypes

Gets the collection of content types for the Web site.

Пространство имен:  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 Web
Dim value As ContentTypeCollection

value = instance.ContentTypes
public ContentTypeCollection ContentTypes { get; }

Значение свойства

Тип: Microsoft.SharePoint.Client.ContentTypeCollection
A ContentTypeCollection object that represents the content types.

Замечания

It must not be пустая ссылка (Nothing в Visual Basic).

См. также

Справочные материалы

Web класс

Элементы Web

Пространство имен Microsoft.SharePoint.Client