IStorageFolder.GetFolderAsync(String) 方法

定义

从当前文件夹获取指定的文件夹。

public:
 IAsyncOperation<StorageFolder ^> ^ GetFolderAsync(Platform::String ^ name);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFolder> GetFolderAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFolder> GetFolderAsync(string name);
function getFolderAsync(name)
Public Function GetFolderAsync (name As String) As IAsyncOperation(Of StorageFolder)

参数

name
String

Platform::String

winrt::hstring

要检索的子文件夹的名称。

返回

此方法成功完成后,将返回一个代表子文件夹的 StorageFolder

属性

适用于

另请参阅