ListItem.ContentType - Propriété
Gets a value that specifies the content type of the list item.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public ReadOnly Property ContentType As ContentType
Get
'Utilisation
Dim instance As ListItem
Dim value As ContentType
value = instance.ContentType
public ContentType ContentType { get; }
Valeur de propriété
Type : Microsoft.SharePoint.Client.ContentType
Returns a ContentType.instance representing the content type of the list item.
Remarques
It must be une référence Null (Rien dans Visual Basic) if the list item has no content type.