SP.ContentTypeId.toString() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Returns a string of hexadecimal characters that represents the content type identifier (ID).

var value = SP.ContentTypeId.toString();

Return Value

Type: String

The text that represents the content type ID.

Remarks

This method returns the text that represents the content type ID. The first two characters are always "0x".

Applies To

SP.ContentTypeId Class

See Also

Reference

SP.ContentTypeId Methods

SP.ContentTypeId Properties

SP Namespace