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


esriSearchOrder Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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.

Remarks

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

esriSearchOrderAttribute

Sets the search order to attribute first.

esriSearchOrderSpatial

Sets the search order to spatial first.

Example:

    pSpatialFilter.SearchOrder=esriSearchOrderAttribute

   



See Also

ISpatialFilter Interface | esriSpatialRelEnum Constants