Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SaveDocumentRequest 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
    SaveDocumentRequest Method
    In This Topic
    Runs the file dialog and saves the editor content to the selected file.
    Syntax
    'Declaration
     
    Public Sub SaveDocumentRequest( _
       Optional ByVal defaultFolder As System.String, _
       Optional ByVal restoreFolder As System.Boolean _
    ) 
    public void SaveDocumentRequest( 
       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