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


IIndexQuery.Within Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIndexQuery Interface > IIndexQuery.Within Property
ArcGIS Developer Help

IIndexQuery.Within Property

Finds all features that the input shape lies within.

[Visual Basic .NET]
Public Function get_Within ( _
    ByVal pShape As IGeometry _
) As IFeatureCursor
[C#]
public IFeatureCursor get_Within (
    IGeometry pShape
);
[C++]
HRESULT get_Within(
  IGeometry* pShape,
  IFeatureCursor** ppFeatureCursor
);
[C++]
Parameters
pShape [in]

pShape is a parameter of type IGeometry* ppFeatureCursor [out, retval]
ppFeatureCursor is a parameter of type IFeatureCursor**

Product Availability

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

See Also

IIndexQuery Interface