AddFileResult AddFileResult AddFileResult AddFileResult AddFileResult Enum


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

public : enum class AddFileResult
enum class winrt::Windows::Storage::Pickers::Provider::AddFileResult : int32_t
public enum AddFileResult
Public Enum AddFileResult
var value = Windows.Storage.Pickers.Provider.AddFileResult.added;
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)


Added Added Added Added Added

The file was successfully added to the file picker UI.

AlreadyAdded AlreadyAdded AlreadyAdded AlreadyAdded AlreadyAdded

The file was already in the file picker UI.

NotAllowed NotAllowed NotAllowed NotAllowed NotAllowed

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

Unavailable 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.

See Also