SPList.ContentTypes property

Gets the content types that are associated with the list.

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

public SPContentTypeCollection ContentTypes { get; }

Property value

Type: Microsoft.SharePoint.SPContentTypeCollection
An SPContentTypeCollection collection that contains the content types that are associated with the list.
Show: