Share via


ContentIndexerQuery.GetCountAsync Method

Definition

Gets the number of items in the search results.

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

Returns

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

When this method completes, it returns the number of items in the search results.

Attributes

Applies to