Delen via


IStorageFolder.GetFolderAsync(String) Method

Definition

Gets the specified folder from the current folder.

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)

Parameters

name
String

Platform::String

winrt::hstring

The name of the child folder to retrieve.

Returns

When this method completes successfully, it returns a StorageFolder that represents the child folder.

Attributes

Applies to

See also