Compartilhar via


SPFile.TimeLastModified Property

Gets a date and time value that indicates when the file was last modified.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property TimeLastModified As DateTime
    Get
'Usage
Dim instance As SPFile
Dim value As DateTime

value = instance.TimeLastModified
[ClientCallableAttribute]
public DateTime TimeLastModified { get; }

Property Value

Type: System.DateTime
A System.DateTime object that indicates the date and time in Coordinated Universal Time (UTC).

Remarks

For information about how to convert date and time values, see Converting Date and Time Values.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace