FileInformationFactory.GetFoldersAsync(UInt32, UInt32) | getFoldersAsync(UInt32, UInt32) method

Applies to Windows only

Retrieves a collection of FolderInformation objects that contain information about a range of StorageFolder objects in a collection.

Syntax


fileInformationFactory.getFoldersAsync(startIndex, maxItemsToRetrieve).done( /* Your success and error handlers */ );

Parameters

startIndex

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The zero-based index of the first StorageFolder in the range.

maxItemsToRetrieve

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The maximum number of StorageFolder objects to retrieve information for.

Return value

Type: IAsyncOperation<IVectorView>

When this method completes successfully, it returns the list (type IVectorView) of FolderInformation objects.

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

FileInformationFactory
GetFoldersAsync

 

 

Show:
© 2014 Microsoft