ShellExtensibility.ShowOpenMultipleFilesDialogAsync Method

Definition

Shows the file dialog to open multiple files.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> ShowOpenMultipleFilesDialogAsync (Microsoft.VisualStudio.Extensibility.Shell.FileDialog.FileDialogOptions options, System.Threading.CancellationToken cancellationToken);
member this.ShowOpenMultipleFilesDialogAsync : Microsoft.VisualStudio.Extensibility.Shell.FileDialog.FileDialogOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>>
Public Function ShowOpenMultipleFilesDialogAsync (options As FileDialogOptions, cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of String))

Parameters

options
FileDialogOptions

The file dialog options.

cancellationToken
CancellationToken

The cancellation token.

Returns

The list of selected file paths. This is null if the user cancelled the dialog or there was an error.

Applies to