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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Id As ContentTypeId
    Get
'Usage
Dim instance As ContentType
Dim value As ContentTypeId

value = instance.Id
[RemoteAttribute]
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