Dela via


PackageManager.FindPackageVolume(String) Method

Definition

Gets the specified volume.

public:
 virtual PackageVolume ^ FindPackageVolume(Platform::String ^ volumeName) = FindPackageVolume;
/// [Windows.Foundation.Metadata.Overload("FindPackageVolumeByName")]
PackageVolume FindPackageVolume(winrt::hstring const& volumeName);
[Windows.Foundation.Metadata.Overload("FindPackageVolumeByName")]
public PackageVolume FindPackageVolume(string volumeName);
function findPackageVolume(volumeName)
Public Function FindPackageVolume (volumeName As String) As PackageVolume

Parameters

volumeName
String

Platform::String

winrt::hstring

The volume media ID, which is a GUID value.

Returns

The requested volume.

Attributes

Applies to

See also