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)

Syntax

'Declaration
Public Property ContentTypesEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.ContentTypesEnabled

instance.ContentTypesEnabled = value
public bool ContentTypesEnabled { get; set; }

Property value

Type: System.Boolean
true if content types are enabled for the list; otherwise, false.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace