Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7
Relevant samples
Statistical query: Query a table to get aggregated statistics back for a specific field.
In This Article
Back to top Copyright © 2022 Esri.