Udostępnij za pośrednictwem


AddFileResult Enum

Definition

Indicates the result of a call to the FileOpenPickerUI.AddFile method.

public enum class AddFileResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AddFileResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AddFileResult
var value = Windows.Storage.Pickers.Provider.AddFileResult.added
Public Enum AddFileResult
Inheritance
AddFileResult
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
Added 0

The file was successfully added to the file picker UI.

AlreadyAdded 1

The file was already in the file picker UI.

NotAllowed 2

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

Unavailable 3

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.

Applies to

See also