ListItem.File - Propriété
Gets the file that is represented by the item from a document library.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public ReadOnly Property File As File
Get
'Utilisation
Dim instance As ListItem
Dim value As File
value = instance.File
public File File { get; }
Valeur de propriété
Type : 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.
Remarques
It must be une référence Null (Rien dans Visual Basic) if the parent list is not a document library or FileSystemObjectType is Folder.