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

IIndexQuery Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIndexQuery Interface
ArcGIS Developer Help

IIndexQuery Interface

Provides access to members that control the index created with IFeatureIndex. Note: the IIndexQuery interface has been superseded by IIndexQuery2. Please consider using the more recent version.

Product Availability

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


Name Description
Method NearestFeature Finds the nearest feature in index to the input shape.
Read-only property Within Finds all features that the input shape lies within.

Classes that implement IIndexQuery

Classes Description
FeatureIndex A feature class index.


Use the methods available in this interface and in IIndexQuery2 to select indexed feature. See IFeatureIndex2.