AddPackageOptions.LimitToExistingPackages Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.