SPList.AllowContentTypes property

Returns true if the list supports content types.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property AllowContentTypes As Boolean
    Get
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.AllowContentTypes
public bool AllowContentTypes { get; }

Property value

Type: System.Boolean
true if the list supports content types; otherwise, false.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace