ITextDocument.Save Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the contents of the TextBuffer to FilePath.
If the save operation fails, the value of IsDirty remains unchanged.
public:
void Save();
public:
void Save();
void Save();
public void Save ();
abstract member Save : unit -> unit
Public Sub Save ()
Exceptions
An I/O error occurred during file save.
An access error occurred during file save.
This object has been disposed.
This object is in the middle of raising events.
Remarks
If the save operation fails, the value of IsDirty remains unchanged.