SPList.ContentTypesEnabled Property
Gets or sets a Boolean value specifying whether content types are enabled for the list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property ContentTypesEnabled As Boolean
Get
Set
'Usage
Dim instance As SPList
Dim value As Boolean
value = instance.ContentTypesEnabled
instance.ContentTypesEnabled = value
[ClientCallableAttribute]
public bool ContentTypesEnabled { get; set; }
Property Value
Type: System.Boolean
true if content types are enabled for the list; otherwise, false.