This document is archived and information here might be outdated.  Recommended version.

esriSearchOrder Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > E > esriSearchOrder Constants
ArcGIS Developer Help

esriSearchOrder Constants

Spatial Filter Search Order.

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


esriSearchOrderSpatial is the default order.  The following esriSearchOrder enumerators are used to set the search order.


Sets the search order to attribute first.


Sets the search order to spatial first.


    pSpatialFilter.SearchOrder = esriSearchOrderAttribute


See Also

ISpatialFilter Interface | esriSpatialRelEnum Constants