Delen via


PackageManager.SetDefaultPackageVolume(PackageVolume) Method

Definition

Sets the default Package volume, which is the target of deployment operations such as the AddPackageAsync method.

public:
 virtual void SetDefaultPackageVolume(PackageVolume ^ volume) = SetDefaultPackageVolume;
void SetDefaultPackageVolume(PackageVolume const& volume);
public void SetDefaultPackageVolume(PackageVolume volume);
function setDefaultPackageVolume(volume)
Public Sub SetDefaultPackageVolume (volume As PackageVolume)

Parameters

volume
PackageVolume

The default package volume, which is the target of deployment operations such as the AddPackageAsync method.

Windows requirements

App capabilities
packageManagement

Applies to

See also