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)
Visual Basic (Declaration)
Public Property ContentTypesEnabled As Boolean
Dim instance As SPList
Dim value As Boolean
value = instance.ContentTypesEnabled
instance.ContentTypesEnabled = value
public bool ContentTypesEnabled { get; set; }
Property Value
true if content types are enabled for the list; otherwise, false.