Jaa


StorageFileQueryResult.GetItemCountAsync Method

Definition

Retrieves the number of files in the set of query results.

public:
 virtual IAsyncOperation<unsigned int> ^ GetItemCountAsync() = GetItemCountAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<uint32_t> GetItemCountAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<uint> GetItemCountAsync();
function getItemCountAsync()
Public Function GetItemCountAsync () As IAsyncOperation(Of UInteger)

Returns

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

When this method completes successfully, it returns the number of files in the location that match the query.

Implements

Attributes

Applies to

See also