AddFileResult AddFileResult AddFileResult AddFileResult Enum

Indicates the result of a call to the AddFile(System.String,Windows.Storage.IStorageFile) method.

Syntax

Declaration

public enum AddFileResultpublic enum AddFileResultPublic Enum AddFileResult

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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Pickers.Provider.dll