Dela via


FileInformationFactory.GetFoldersAsync Method

Definition

Overloads

GetFoldersAsync()

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

GetFoldersAsync(UInt32, UInt32)

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

GetFoldersAsync()

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

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

Returns

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

Attributes

See also

Applies to

GetFoldersAsync(UInt32, UInt32)

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

public:
 virtual IAsyncOperation<IVectorView<FolderInformation ^> ^> ^ GetFoldersAsync(unsigned int startIndex, unsigned int maxItemsToRetrieve) = GetFoldersAsync;
/// [Windows.Foundation.Metadata.Overload("GetFoldersAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<FolderInformation>> GetFoldersAsync(uint32_t const& startIndex, uint32_t const& maxItemsToRetrieve);
[Windows.Foundation.Metadata.Overload("GetFoldersAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<FolderInformation>> GetFoldersAsync(uint startIndex, uint maxItemsToRetrieve);
function getFoldersAsync(startIndex, maxItemsToRetrieve)
Public Function GetFoldersAsync (startIndex As UInteger, maxItemsToRetrieve As UInteger) As IAsyncOperation(Of IReadOnlyList(Of FolderInformation))

Parameters

startIndex
UInt32

unsigned int

uint32_t

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

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

The maximum number of StorageFolder objects to retrieve information for.

Returns

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

Attributes

See also

Applies to