ITextDocument Methods
Visual Studio 2012
The ITextDocument type exposes the following members.
| Name | Description | |
|---|---|---|
|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
|
Reload() | Reloads the contents of FilePath into a TextBuffer. |
|
Reload(EditOptions) | Reloads the contents of FilePath into TextBuffer, using the given EditOptions. |
|
Rename | Rename the document to the given new file path. |
|
Save | Saves the contents of the TextBuffer to the FilePath. |
|
SaveAs(String, Boolean) | Saves the contents of the TextBuffer to the specified file path. |
|
SaveAs(String, Boolean, IContentType) | Saves the contents of the TextBuffer to the specified file path. |
|
SaveAs(String, Boolean, Boolean) | Saves the contents of the TextBuffer to the specified file path. |
|
SaveAs(String, Boolean, Boolean, IContentType) | Saves the contents of the TextBuffer to the specified file path. |
|
SaveCopy(String, Boolean) | Saves the contents of the TextBuffer to the given filePath. |
|
SaveCopy(String, Boolean, Boolean) | Saves the contents of the TextBuffer to the specified file path. |
|
SetEncoderFallback | Change the encoder fallback of Encoding. |
|
UpdateDirtyState | Updates the IsDirty and LastContentModifiedTime properties. |