File.Versions - Propriété
Gets a value that returns a collection of file version objects that represent the versions of the file.
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 Versions As FileVersionCollection
Get
'Utilisation
Dim instance As File
Dim value As FileVersionCollection
value = instance.Versions
public FileVersionCollection Versions { get; }
Valeur de propriété
Type : Microsoft.SharePoint.Client.FileVersionCollection
Returns a FileVersionCollection instance representing a collection of file version objects that represent the version of the file.
Exceptions
Exception | Condition |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
Remarques
It must not be une référence Null (Rien dans Visual Basic).