File.Versions 属性
Gets a value that returns a collection of file version objects that represent the versions of the file.
命名空间: 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 Versions As FileVersionCollection
Get
用法
Dim instance As File
Dim value As FileVersionCollection
value = instance.Versions
public FileVersionCollection Versions { get; }
属性值
类型:Microsoft.SharePoint.Client.FileVersionCollection
Returns a FileVersionCollection instance representing a collection of file version objects that represent the version of the file.
异常
异常 | 条件 |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
备注
It must not be 空引用(无 在 Visual Basic 中).