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.

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