Show / Hide Table of Contents

Method QueryExtentAsync

QueryExtentAsync(QueryParameters)

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

Declaration
public Task<Envelope> QueryExtentAsync(QueryParameters queryParameters)
Parameters
Type Name Description
QueryParameters queryParameters

The parameters of the query.

Returns
Type Description
Task<Envelope>

A task that represents the asynchronous query of the feature extent. The value of the task result contains an Envelope object.

Remarks

If no features meet the query criteria, an empty envelope is returned.

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