Sdílet prostřednictvím


ITextDocument.Save Method

Definition

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.

Applies to