Share via


SP.ContentType.id Property

Applies to: SharePoint Foundation 2010

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.

var value = SP.ContentType.get_id(); 

Property Value

Type: SP.ContentTypeId

Applies To

SP.ContentType Class

See Also

Reference

SP.ContentType Methods

SP.ContentType Properties

SP Namespace