AddFileResult AddFileResult AddFileResult AddFileResult Enum

Definition

Indicates the result of a call to the fileOpenPickerUI.addFile method.

public : enum class AddFileResultpublic enum AddFileResultPublic Enum AddFileResult// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Added Added Added Added

The file was successfully added to the file picker UI.

AlreadyAdded AlreadyAdded AlreadyAdded AlreadyAdded

The file was already in the file picker UI.

NotAllowed NotAllowed NotAllowed NotAllowed

The file wasn't added because it is not one of the allowed file types.

Unavailable Unavailable Unavailable Unavailable

The file wasn't added because the file picker UI is unavailable. The file picker UI is only available while the user is interacting with your app.