SP.Web.contentTypes Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets the collection of content types for the Web site.
var value = SP.Web.get_contentTypes();
Property Value
Type: SP.ContentTypeCollection
Applies To
Remarks
It must not be null.