Dela via


FileSelectionMode Enum

Definition

Indicates whether the file picker currently limits selection to single files, or if multiple files can be selected.

public enum class FileSelectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FileSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FileSelectionMode
var value = Windows.Storage.Pickers.Provider.FileSelectionMode.single
Public Enum FileSelectionMode
Inheritance
FileSelectionMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Single 0

Only a single file can be selected.

Multiple 1

Multiple files can be selected.

Applies to

See also