SetFileNameResult SetFileNameResult SetFileNameResult SetFileNameResult SetFileNameResult Enum


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

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


NotAllowed 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 Succeeded

The file name and extension were updated successfully.

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

See Also