StorageFolderQueryResult.GetItemCountAsync StorageFolderQueryResult.GetItemCountAsync StorageFolderQueryResult.GetItemCountAsync StorageFolderQueryResult.GetItemCountAsync StorageFolderQueryResult.GetItemCountAsync Method

Definition

Retrieves the number of folders (or file groups) in the set of query results.

public : IAsyncOperation<unsigned int> GetItemCountAsync()
IAsyncOperation<uint32_t> GetItemCountAsync() const;
public IAsyncOperation<uint> GetItemCountAsync()
Public Function GetItemCountAsync() As IAsyncOperation(Of uint)
Windows.Storage.Search.StorageFolderQueryResult.getItemCountAsync().done( /* Your success and error handlers */ );

Returns

When this method completes successfully, it returns the number of folders or file groups in the location that match the query.

See also