ITextDocument Methods
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | (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(String^) | 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, 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. |
![]() | SaveAs(String^, 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(EncoderFallback^) | Change the encoder fallback of Encoding. |
![]() | UpdateDirtyState(Boolean, DateTime) | Updates the IsDirty and LastContentModifiedTime properties. |
