File.TimeLastModified 属性
Gets a value that specifies when the file was last modified.
命名空间: 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 TimeLastModified As DateTime
Get
用法
Dim instance As File
Dim value As DateTime
value = instance.TimeLastModified
public DateTime TimeLastModified { get; }
属性值
类型:System.DateTime
Returns a DateTime instance representing when the file was last modified.
异常
异常 | 条件 |
---|---|
[System.IO.FileNotFoundException] | File cannot be found. Error code: -2147024894. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |