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


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

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