Determines if the current geometry meets the location query criteria.
[Visual Basic .NET] Public Function LocationTestFeature ( _ ByVal piGeometry As IGeometry, _ ByVal eSpatialRel As esriSpatialRelEnum _ ) As Boolean
[C#] public bool LocationTestFeature ( IGeometry piGeometry, esriSpatialRelEnum eSpatialRel );
[C++]
HRESULT LocationTestFeature(
IGeometry* piGeometry,
esriSpatialRelEnum eSpatialRel,
VARIANT_BOOL* pvbTest
);
[C++]Parameters
piGeometry [in]piGeometry is a parameter of type IGeometry
eSpatialRel [in]eSpatialRel is a parameter of type esriSpatialRelEnum
pvbTest [out, retval] pvbTest is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.