SPList Properties


SPList.ContentTypesEnabled Property (Microsoft.SharePoint)
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

Visual Basic (Declaration)
Public Property ContentTypesEnabled As Boolean
Visual Basic (Usage)
Dim instance As SPList
Dim value As Boolean

value = instance.ContentTypesEnabled

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

Property Value

true if content types are enabled for the list; otherwise, false.
See Also

Tags :


Page view tracker