SP.ListItem.contentType Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the content type of the list item.

var value = SP.ListItem.get_contentType();

Property Value

Type: SP.ContentType

Applies To

SP.ListItem Class

Remarks

It must be null if the list item has no content type.

See Also

Reference

SP.ListItem Methods

SP.ListItem Properties

SP Namespace