SetFileNameResult enumeration

Applies to Windows and Windows Phone

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

Syntax


public enum class SetFileNameResult

Attributes

[Version(0x06020000)]

Members

The SetFileNameResult enumeration has these members.

MemberValueDescription
Succeeded | succeeded0

The file name and extension were updated successfully.

NotAllowed | notAllowed1

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

Unavailable | unavailable2

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers.Provider
Windows::Storage::Pickers::Provider [C++]

Metadata

Windows.winmd

See also

FileSavePickerUI class
FileSavePickerUI.AllowedFileTypes property
FileSavePickerUI.TrySetFileName method

 

 

Show:
© 2014 Microsoft