ListItem.ContentType Property

Gets a value that specifies the content type of the list item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)


<RemoteAttribute> _
Public ReadOnly Property ContentType As ContentType
Dim instance As ListItem
Dim value As ContentType

value = instance.ContentType
public ContentType ContentType { get; }

Property Value

Type: Microsoft.SharePoint.Client.ContentType
Returns a ContentType.instance representing the content type of the list item.


It must be a null reference (Nothing in Visual Basic) if the list item has no content type.

See Also


ListItem Class

ListItem Members

Microsoft.SharePoint.Client Namespace