SetFileNameResult SetFileNameResult SetFileNameResult SetFileNameResult Enum

Definition

Indicates the result of a call to the fileSavePickerUI.trySetFileName method.

public : enum class SetFileNameResultpublic enum SetFileNameResultPublic Enum SetFileNameResult// 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

NotAllowed NotAllowed NotAllowed NotAllowed

The file name and extension were not updated because the extension wasn't one of the allowedFileTypes.

Succeeded Succeeded Succeeded Succeeded

The file name and extension were updated successfully.

Unavailable Unavailable Unavailable Unavailable

The file name and extension were not updated because the file picker UI wasn't available. The file picker UI is only available while the user is interacting with your app.