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


IIndexQuery2.IntersectedFeatures Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IIndexQuery2.IntersectedFeatures Method

Finds all intersected features in index to the input shape.

[Visual Basic .NET]
Public Sub IntersectedFeatures ( _
    ByVal pShape As IGeometry, _
    ByRef pSAIds As Object _
)
[C#]
public void IntersectedFeatures (
    IGeometry pShape,
    ref object pSAIds
);
[C++]
HRESULT IntersectedFeatures(
  IGeometry* pShape,
  VARIANT* pSAIds
);
[C++]

Parameters pShape [in]
pShape is a parameter of type IGeometry pSAIds [out] pSAIds is a parameter of type VARIANT

Product Availability

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

Description

Returns the indexed features in an variant array that intersect the input shape. 

Pass the returned array into IFeatureClass.GetFeatures to get the corresponding features

See Also

IIndexQuery2 Interface