PackageManager.FindPackageVolume(String) 方法

定义

获取指定的卷。

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

参数

volumeName
String

Platform::String

winrt::hstring

卷媒体 ID,它是 一个 GUID 值。

返回

请求的卷。

属性

适用于

另请参阅