esriSearchOrder Constants

Spatial Filter Search Order.

Constant Value Description
esriSearchOrderSpatial 0 Spatial query is applied first.
esriSearchOrderAttribute 1 Attribute query is applied first.

Remarks

esriSearchOrderSpatial is the default order. The following esriSearchOrder enumerators are used to set the search order.esriSearchOrderAttributeSets the search order to attribute first.esriSearchOrderSpatialSets the search order to spatial first.Example:pSpatialFilter.SearchOrder = esriSearchOrderAttribute

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close