SP.ContentTypeId Class

SharePoint 2010

Last modified: March 27, 2011

Applies to: SharePoint Foundation 2010

Represents the content type identifier (ID) of a content type.


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.