Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
contentType Property

SP.ListItem.contentType Property

SharePoint 2010

Last modified: March 07, 2010

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();

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

Show:
© 2015 Microsoft