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

'Declaration
ReadOnly Property LastSavedTime As DateTime
DateTime LastSavedTime { get; }
property DateTime LastSavedTime {
    DateTime get ();
}
abstract LastSavedTime : DateTime with get
function get LastSavedTime () : DateTime

Property Value

Type: DateTime
The last saved time.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace