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<Int64>

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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.2.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 100.15
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.