Export (0) Print
Expand All

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)

'Declaration
PublicReadOnlyPropertyContentTypeIdAsSPContentTypeIdGet
'Usage
DiminstanceAsSPListItemDimvalueAsSPContentTypeIdvalue = instance.ContentTypeId

Property value

Type: Microsoft.SharePoint.SPContentTypeId
The content type identifier.
Show:
© 2014 Microsoft