ITextDocument Methods

 

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodReload()

Reloads the contents of FilePath into a TextBuffer.

System_CAPS_pubmethodReload(EditOptions)

Reloads the contents of FilePath into TextBuffer, using the given EditOptions.

System_CAPS_pubmethodRename(String)

Rename the document to the given new file path.

System_CAPS_pubmethodSave()

Saves the contents of the TextBuffer to the FilePath.

System_CAPS_pubmethodSaveAs(String, Boolean)

Saves the contents of the TextBuffer to the specified file path.

System_CAPS_pubmethodSaveAs(String, Boolean, Boolean)

Saves the contents of the TextBuffer to the specified file path.

System_CAPS_pubmethodSaveAs(String, Boolean, Boolean, IContentType)

Saves the contents of the TextBuffer to the specified file path.

System_CAPS_pubmethodSaveAs(String, Boolean, IContentType)

Saves the contents of the TextBuffer to the specified file path.

System_CAPS_pubmethodSaveCopy(String, Boolean)

Saves the contents of the TextBuffer to the given filePath.

System_CAPS_pubmethodSaveCopy(String, Boolean, Boolean)

Saves the contents of the TextBuffer to the specified file path.

System_CAPS_pubmethodSetEncoderFallback(EncoderFallback)

Change the encoder fallback of Encoding.

System_CAPS_pubmethodUpdateDirtyState(Boolean, DateTime)

Updates the IsDirty and LastContentModifiedTime properties.

Return to top
Show: