[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.SaveDocumentRequestAsync

SaveDocumentRequestAsync Method

SaveDocumentRequestAsync(string, bool)

Runs the file dialog and saves the editor content to the selected file asynchronously.

Declaration
public Task SaveDocumentRequestAsync(string defaultFolder = "", bool restoreFolder = false)
Public Function SaveDocumentRequestAsync(Optional defaultFolder As String = "", Optional restoreFolder As Boolean = False) As Task
Parameters
Type Name Description
string defaultFolder

Specifies the initial folder for the file dialog. The default value is the current folder.

bool restoreFolder

Specifies whether the original current folder should be restored after the dialog completes. The default value is false.

Returns
Type Description
Task