StubPackageOption Enum

Definition

Defines the stub behavior for an app package that is being added or staged.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum StubPackageOption
Inheritance
StubPackageOption
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Fields

Name Value Description
Default 0

Use the default behavior.

InstallFull 1

Install as a full app.

InstallStub 2

Install as stub app.

UsePreference 3

Use the current PackageSubPreference for the package.

Remarks

Note

The ability for an app to run as a stub is currently available only to certain apps that are built by Microsoft.

Applies to

Product Versions
WinRT Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also