Export (0) Print
Expand All

SP.List.contentTypesEnabled Property

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether content types are enabled for the list.

var value = SP.List.get_contentTypesEnabled(); 
SP.List.set_contentTypesEnabled(value);

[System.InvalidOperationException]

Value is set to true, and the list does not allow content types. Error code: -2146232832.

Show:
© 2014 Microsoft