[]
Saves the current editor content to the specified filepath asynchronously.
public Task SaveDocumentAsync(string filename)
Type | Name | Description |
---|---|---|
string | filename | Full path of the file to save the content. |
Type | Description |
---|---|
Task |
Saves the current editor content to the stream asynchronously.
public Task SaveDocumentAsync(Stream stream, bool leaveOpen = false)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to save the content. |
bool | leaveOpen | true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false. |
Type | Description |
---|---|
Task |