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