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


ILocationQueryHelper.LocationTestFeature Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (TrackingAnalyst)  

ILocationQueryHelper.LocationTestFeature Method

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.

See Also

ILocationQueryHelper Interface