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 空引用(无 在 Visual Basic 中) if the parent list is not a document library or FileSystemObjectType is Folder.