Share via


AppInstallerInfo.ForceUpdateFromAnyVersion Property

Definition

Gets a boolean value indicating whether the app version can be both incremented and decremented. If the value is false, the app can only move to a higher version.

public:
 property bool ForceUpdateFromAnyVersion { bool get(); };
bool ForceUpdateFromAnyVersion();
public bool ForceUpdateFromAnyVersion { get; }
var boolean = appInstallerInfo.forceUpdateFromAnyVersion;
Public ReadOnly Property ForceUpdateFromAnyVersion As Boolean

Property Value

Boolean

bool

True if the app version can be decremented; otherwise, false.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

This property is equivalent to the ForceUpdateFromAnyVersion element of the App Installer file schema.

Applies to