Provides access to members that control the index created with IFeatureIndex.
Members
| Name | Description | |
|---|---|---|
![]() |
NearestFeature | Finds the nearest feature in index to the input shape. |
![]() |
Within | Finds all features that the input shape lies within. |
IIndexQuery.NearestFeature Method
Finds the nearest feature in index to the input shape.
Public Sub NearestFeature ( _
ByVal pShape As IGeometry, _
ByRef pClosestFeatureFID As Integer, _
ByRef pDistance As Double _
)
public void NearestFeature (
IGeometry pShape,
ref int pClosestFeatureFID,
ref double pDistance
);
IIndexQuery.Within Property
Finds all features that the input shape lies within.
Public Function get_Within ( _
ByVal pShape As IGeometry _
) As IFeatureCursor
public IFeatureCursor get_Within (
IGeometry pShape
);
Classes that implement IIndexQuery
| Classes | Description |
|---|---|
| FeatureIndex | A feature class index. |

