The ITextDocument type exposes the following members.
|Encoding||Gets or sets the encoding of the document when saved to disk.|
|FilePath||The name and path of the file.|
|IsDirty||Determines whether the ITextBuffer is dirty.|
|IsReloading||Determines whether the Reload method is executing.|
|LastContentModifiedTime||Gets the last DateTime a change was made to the contents of the ITextBuffer.|
|LastSavedTime||Gets the last DateTime the file was saved. This time exactly matches the last file written time on the file system.|
|TextBuffer||Gets the ITextBuffer containing the document. This value is always non-null.|