Table of Contents

Method SelectFiles

Namespace
DotNetBrowser.Browser.Dialogs.Handlers
Assembly
DotNetBrowser.dll

SelectFiles(params string[])

Creates a OpenMultipleFilesResponse that notifies the browser that the files were selected in the file chooser dialog.

public static OpenMultipleFilesResponse SelectFiles(params string[] files)

Parameters

files string[]

The selected files.

Returns

OpenMultipleFilesResponse

The OpenMultipleFilesResponse instance that can be used as a return value in OpenMultipleFilesHandler implementation.

Exceptions

ArgumentException

The files collection is null, empty, contains null or whitespace strings or contains strings that do not represent the existing files.