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
Task<long>

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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
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
Provide feedback
Back to top Copyright © 2025 Esri.