Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SaveDocumentRequestAsync Method
Specifies the initial folder for the file dialog. The default value is the current folder.
Specifies whether the original current folder should be restored after the dialog completes. The default value is false.

In This Topic
    SaveDocumentRequestAsync Method
    In This Topic
    Runs the file dialog and saves the editor content to the selected file asynchronously.
    Syntax
    'Declaration
     
    Public Function SaveDocumentRequestAsync( _
       Optional ByVal defaultFolder As System.String, _
       Optional ByVal restoreFolder As System.Boolean _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task SaveDocumentRequestAsync( 
       System.string defaultFolder,
       System.bool restoreFolder
    )

    Parameters

    defaultFolder
    Specifies the initial folder for the file dialog. The default value is the current folder.
    restoreFolder
    Specifies whether the original current folder should be restored after the dialog completes. The default value is false.
    See Also