Show / Hide Table of Contents

Method QueryFeatureCountAsync

QueryFeatureCountAsync(QueryParameters)

Asynchronously queries the count of all features that satisfy the provided parameters.

Declaration
public Task<long> QueryFeatureCountAsync(QueryParameters queryParameters)
Parameters
Type Name Description
QueryParameters queryParameters

The parameters of the query.

Returns
Type Description
System.Threading.Tasks.Task<System.Int64>

A task that represents the asynchronous query of feature count. The value of the task result contains a System.Int64.

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
Find service areas for multiple facilities: Find the service areas of several facilities from a feature service.
Query feature count and extent: Zoom to features matching a query and count the features in the current visible extent.
In This Article
Back to top Copyright © 2022 Esri.