Freigeben über


PackageVolume.FindPackageVolumeByName(String) Method

Definition

Retrieves the specified volume.

public:
 static PackageVolume ^ FindPackageVolumeByName(Platform::String ^ name);
 static PackageVolume FindPackageVolumeByName(winrt::hstring const& name);
public static PackageVolume FindPackageVolumeByName(string name);
function findPackageVolumeByName(name)
Public Shared Function FindPackageVolumeByName (name As String) As PackageVolume

Parameters

name
String

Platform::String

winrt::hstring

The volume media ID, which is a GUID value.

Returns

The specified volume.

Applies to

See also