Method QueryStatisticsAsync
QueryStatisticsAsync(StatisticsQueryParameters)
Calculates values for the requested statistics.
Declaration
public Task<StatisticsQueryResult> QueryStatisticsAsync(StatisticsQueryParameters statisticsQueryParameters)
Parameters
Type | Name | Description |
---|---|---|
StatisticsQueryParameters | statisticsQueryParameters | The parameters that define the statistics, fields, and features to be used for the query. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StatisticsQueryResult> | A task that represents the asynchronous query statistics operation. The value of the task result contains a StatisticsQueryResult object. |
Remarks
Statistics query parameters may also define fields on which results are grouped or sorted.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |
Relevant samples
Statistical query: Query a table to get aggregated statistics back for a specific field.