共用方式為


SP.ContentTypeId Class

Applies to: SharePoint Foundation 2010

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

SP.ContentTypeId

Inherits

SP.ClientValueObject Class

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.

See Also

Reference

SP.ContentTypeId Methods

SP.ContentTypeId Properties

SP Namespace