SP.ContentTypeId object
Represents the content type identifier (ID) of a content type.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.ContentTypeId()
Members
The ContentTypeId object has the following members.
Constructor
The ContentTypeId object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.ContentTypeId object. |
Methods
The ContentTypeId object has the following methods.
Method |
Description |
---|---|
Returns a string of hexadecimal characters that represents the content type identifier (ID). |
Properties
The ContentTypeId object has the following properties.
Property |
Description |
---|---|
A string of hex characters that represents the content type ID. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
Remarks
Content type IDs uniquely identify the content type and are designed to be recursive. The content type ID encapsulates the lineage of a content type or the line of parent content types from which the content type inherits. Each content type ID contains the ID of the parent content type, which in turn contains the ID of that content type's parent, and so on, ultimately back to and including the System content type ID.
For more information, see the SP.ContentType.id property (sp.js).