Skip to main content
FolderInformation.GetFoldersAsync() | getFoldersAsync() method

Applies to Windows only

Retrieves all child folders from the current folder.

Syntax


folderInformation.getFoldersAsync().done( /* Your success and error handlers */ );

public IAsyncOperation<IReadOnlyList> GetFoldersAsync()

Public Function GetFoldersAsync() As IAsyncOperation(Of IReadOnlyList)

public:
IAsyncOperation<IVectorView>^ GetFoldersAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<IVectorView>

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Storage.BulkAccess
Windows::Storage::BulkAccess [C++]

Metadata

Windows.winmd

See also

FolderInformation
GetFoldersAsync(CommonFolderQuery, UInt32, UInt32)
GetFoldersAsync(CommonFolderQuery)