SP.View.contentTypeId Property

Applies to: SharePoint Foundation 2010

Gets or sets the identifier of the content type with which the view is associated so that the view is available only on folders of this content type.

var value = SP.View.get_contentTypeId();

SP.View.set_contentTypeId(value);

Property Value

Type: SP.ContentTypeId

Applies To

SP.View Class

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace