Skip to content

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

Members

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.

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.