次の方法で共有


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 null 参照 (Visual Basic のNothing ) if the list item has no content type.

関連項目

参照先

ListItem クラス

ListItem メンバー

Microsoft.SharePoint.Client 名前空間