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


IIndexQuery2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IIndexQuery2 Interface

Provides access to members that control the index created with IFeatureIndex.

Product Availability

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

Members

Description
Method IntersectedFeatures Finds all intersected features in index to the input shape.
Method NearestFeature Finds the nearest feature in index to the input shape.
Method NearestFeatures Finds all nearest features in index to the input shape (i.e. equal distance).
Read-only property Within Finds all features that the input shape lies within.
Method WithinFeature Finds the first feature that the input shape lies within.

CoClasses that implement IIndexQuery2

CoClasses and Classes Description
FeatureIndex A feature class index.