Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the content types that are associated with the list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property ContentTypes As SPContentTypeCollection
Get
'Usage
Dim instance As SPList
Dim value As SPContentTypeCollection
value = instance.ContentTypes
public SPContentTypeCollection ContentTypes { get; }
Type: Microsoft.SharePoint.SPContentTypeCollection
An SPContentTypeCollection collection that contains the content types that are associated with the list.