ITextDocument Properties

The ITextDocument type exposes the following members.

  Name Description
Public property Encoding Gets or sets the encoding of the document when saved to disk.
Public property FilePath The name and path of the file.
Public property IsDirty Determines whether the ITextBuffer is dirty.
Public property IsReloading Determines whether the Reload method is executing.
Public property LastContentModifiedTime Gets the last DateTime a change was made to the contents of the ITextBuffer.
Public property LastSavedTime Gets the last DateTime the file was saved. This time exactly matches the last file written time on the file system.
Public property TextBuffer Gets the ITextBuffer containing the document. This value is always non-null.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft