Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / LoadDocumentRequestAsync 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
    LoadDocumentRequestAsync Method
    In This Topic
    Runs the file dialog and loads the selected document asynchronously.
    Syntax
    'Declaration
     
    Public Function LoadDocumentRequestAsync( _
       Optional ByVal defaultFolder As System.String, _
       Optional ByVal restoreFolder As System.Boolean _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task LoadDocumentRequestAsync( 
       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