Partilhar via


SP.ContentType Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.ContentType class.

Methods

Name

Description

ContentType

Initializes a new instance of the SP.ContentType Class.

deleteObject

Deletes the content type.

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

update

Updates the content type definition that is stored in the database and, optionally, updates all content types that inherit from the content type.

Applies To

SP.ContentType Class

See Also

Reference

SP.ContentType Properties

SP Namespace