ContentType.Id property

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.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Id As ContentTypeId
    Get
'Usage
Dim instance As ContentType
Dim value As ContentTypeId

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

Property value

Type: Microsoft.SharePoint.Client.ContentTypeId
A ContentTypeId object that represents the type ID.

See also

Reference

ContentType class

ContentType members

Microsoft.SharePoint.Client namespace