Свойство 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 пустая ссылка (Nothing в Visual Basic) if the parent list is not a document library or FileSystemObjectType is Folder.