File.TimeLastModified property
Gets a value that specifies when the file was last modified.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property TimeLastModified As DateTime
Get
'Usage
Dim instance As File
Dim value As DateTime
value = instance.TimeLastModified
public DateTime TimeLastModified { get; }
Property value
Type: System.DateTime
Returns a DateTime instance representing when the file was last modified.
Exceptions
Exception | Condition |
---|---|
[System.IO.FileNotFoundException] | File cannot be found. Error code: -2147024894. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |