ApplicationDataCreateDisposition Enum

Definition

Specifies options for creating application data containers or returning existing containers.

public enum class ApplicationDataCreateDisposition
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Storage.ApplicationDataContract, 65536)]
enum class ApplicationDataCreateDisposition
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Storage.ApplicationDataContract), 65536)]
public enum ApplicationDataCreateDisposition
var value = Microsoft.Windows.Storage.ApplicationDataCreateDisposition.always
Public Enum ApplicationDataCreateDisposition
Inheritance
ApplicationDataCreateDisposition
Attributes

Fields

Name Value Description
Always 0

Always returns the specified container. Creates the container if it doesn't exist.

Existing 1

Returns the specified container only if it already exists. Raises an exception of type System.Exception if the specified container doesn't exist.

Applies to