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 命名空间