Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContentTypeId property

SPListItem.ContentTypeId property

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

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

public SPContentTypeId ContentTypeId { get; }

Property value

Type: Microsoft.SharePoint.SPContentTypeId
The content type identifier.
© 2015 Microsoft