Свойство ListItem.ContentType
Gets a value that specifies the content type of the list item.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public ReadOnly Property ContentType As ContentType
Get
'Применение
Dim instance As ListItem
Dim value As ContentType
value = instance.ContentType
public ContentType ContentType { get; }
Значение свойства
Тип: Microsoft.SharePoint.Client.ContentType
Returns a ContentType.instance representing the content type of the list item.
Замечания
It must be пустая ссылка (Nothing в Visual Basic) if the list item has no content type.