Partager via


ITextDocument.LastSavedTime Property

Gets the last DateTime the file was saved. This time exactly matches the last file written time on the file system.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Déclaration
ReadOnly Property LastSavedTime As DateTime
DateTime LastSavedTime { get; }
property DateTime LastSavedTime {
    DateTime get ();
}
abstract LastSavedTime : DateTime
function get LastSavedTime () : DateTime

Property Value

Type: System.DateTime
The last saved time.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace