SetFileNameResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the result of a call to the FileSavePickerUI.TrySetFileName method.
public enum class SetFileNameResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SetFileNameResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SetFileNameResult
var value = Windows.Storage.Pickers.Provider.SetFileNameResult.succeeded
Public Enum SetFileNameResult
- Inheritance
-
SetFileNameResult
- 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
Succeeded | 0 | The file name and extension were updated successfully. |
NotAllowed | 1 | The file name and extension were not updated because the extension wasn't one of the AllowedFileTypes. |
Unavailable | 2 | 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. |