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


Свойство Web.AvailableContentTypes

Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites.

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

value = instance.AvailableContentTypes
public ContentTypeCollection AvailableContentTypes { 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