Package.IsStub Property

Definition

Gets a value that indicates whether the application in the current package is a stub application.

public:
 property bool IsStub { bool get(); };
bool IsStub();
public bool IsStub { get; }
var boolean = package.isStub;
Public ReadOnly Property IsStub As Boolean

Property Value

Boolean

bool

TRUE indicates that the application is a stub application; otherwise, FALSE.

Windows requirements

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

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

See also