AddPackageOptions.LimitToExistingPackages Property

Definition

Gets or sets a value indicating whether missing referenced packages should be downloaded.

public:
 property bool LimitToExistingPackages { bool get(); void set(bool value); };
bool LimitToExistingPackages();

void LimitToExistingPackages(bool value);
public bool LimitToExistingPackages { get; set; }
var boolean = addPackageOptions.limitToExistingPackages;
addPackageOptions.limitToExistingPackages = boolean;
Public Property LimitToExistingPackages As Boolean

Property Value

Boolean

bool

True if missing referenced packages should be download; otherwise, false.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Remarks

This property is only applicable if a URI to an .appinstaller file is used in the AddPackageByUri call. This does nothing if the associated URI is for a package.

Applies to