SPListItem.ContentType property

Gets the content type that is associated with the item.

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

public SPContentType ContentType { get; }

Property value

Type: Microsoft.SharePoint.SPContentType
An SPContentType object that represents the content type.
Show: