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 空引用(无 在 Visual Basic 中) if the list item has no content type.

另请参阅

引用

ListItem 类

ListItem 成员

Microsoft.SharePoint.Client 命名空间