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


Свойство ContentType.Id

Gets a value that specifies an identifier for the content type. The ContentTypeId type is the identifier for the specified content type. The identifier is a string composed of hexadecimal characters. The identifier must be unique relative to the current site collection and site, and must follow the pattern of prefixing a ContentTypeId with its parent ContentTypeId.

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

value = instance.Id
public ContentTypeId Id { get; }

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

Тип: Microsoft.SharePoint.Client.ContentTypeId
A ContentTypeId object that represents the type ID.

См. также

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

ContentType класс

Элементы ContentType

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