LoadDocumentRequestAsync Method
In This Topic
Runs the file dialog and loads the selected document asynchronously.
Syntax
'Declaration
Public Function LoadDocumentRequestAsync( _
Optional ByVal As System.String, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task LoadDocumentRequestAsync(
System.string ,
System.bool
)
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