SPList.ContentTypesEnabled Property
Gets or sets a Boolean value specifying whether content types are enabled for the list.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online