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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |
Relevant samples
Statistical query: Query a table to get aggregated statistics back for a specific field.