次の方法で共有


ListItem.File プロパティ

Gets the file that is represented by the item from a document library.

名前空間:  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 File As File
    Get
'使用
Dim instance As ListItem
Dim value As File

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

プロパティ値

型: Microsoft.SharePoint.Client.File
A File object that represents the file. If the item does not exist, if the item is a folder, or if the item is not located in a document library, the File property returns an Object whose ServerObjectIsNull property is true.

注釈

It must be null 参照 (Visual Basic のNothing ) if the parent list is not a document library or FileSystemObjectType is Folder.

関連項目

参照先

ListItem クラス

ListItem メンバー

Microsoft.SharePoint.Client 名前空間