Delen via


IStorageFolder.GetFoldersAsync Method

Definition

Gets the folders in the current folder.

public:
 IAsyncOperation<IVectorView<StorageFolder ^> ^> ^ GetFoldersAsync();
/// [Windows.Foundation.Metadata.Overload("GetFoldersAsyncOverloadDefaultOptionsStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StorageFolder>> GetFoldersAsync();
[Windows.Foundation.Metadata.Overload("GetFoldersAsyncOverloadDefaultOptionsStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StorageFolder>> GetFoldersAsync();
function getFoldersAsync()
Public Function GetFoldersAsync () As IAsyncOperation(Of IReadOnlyList(Of StorageFolder))

Returns

When this method completes successfully, it returns a list of the files (type IVectorView). Each folder in the list is represented by a StorageFolder.

Attributes

Applies to

See also