ITextDocument.LastContentModifiedTime Property

Definition

Gets the last DateTime a change was made to the contents of the document. If it has not been modified since it was loaded or reloaded from disk, this will be the last write time of the underlying file at the time the load or reload occurred; otherwise, it is the last time the contents of the text buffer were changed.

public:
 property DateTime LastContentModifiedTime { DateTime get(); };
public DateTime LastContentModifiedTime { get; }
member this.LastContentModifiedTime : DateTime
Public ReadOnly Property LastContentModifiedTime As DateTime

Property Value

The last content modified time.

Applies to