This topic has not yet been rated - Rate this topic

SPListItem.ContentTypeId Property

SharePoint 2010

Gets the identifier of the content type that is associated with this item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public SPContentTypeId ContentTypeId { get; }

Property Value

Type: Microsoft.SharePoint.SPContentTypeId
The content type identifier.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ