Udostępnij za pośrednictwem


AddResourcePackageOptions Enum

Definition

Specifies various options for adding a resource package to an app.

This enumeration supports a bitwise combination of its member values.

public enum class AddResourcePackageOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class AddResourcePackageOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum AddResourcePackageOptions
var value = Windows.ApplicationModel.AddResourcePackageOptions.none
Public Enum AddResourcePackageOptions
Inheritance
AddResourcePackageOptions
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
None 0

Downloads the specific package requested.

ForceTargetAppShutdown 1

Restarts the application when resource packages are successfully added.

ApplyUpdateIfAvailable 2

Downloads all package updates if they are available.

Applies to