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


IRouteLocatorOperations.LocatePointFeatures Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteLocatorOperations Interface > IRouteLocatorOperations.LocatePointFeatures Method
ArcGIS Developer Help

IRouteLocatorOperations.LocatePointFeatures Method

Locate point features along a routes and write the result in an object class.

[Visual Basic .NET]
Public Function LocatePointFeatures ( _
    ByVal searchRadius As Double, _
    ByVal searchMultipleLocation As Boolean, _
    ByVal outputProperties As IRouteEventProperties, _
    ByVal keepAllFields As Boolean, _
    ByVal outputName As IDatasetName, _
    ByVal configKeyword As String, _
    ByVal trackCancel As ITrackCancel _
) As ITable
[C#]
public ITable LocatePointFeatures (
    double searchRadius,
    bool searchMultipleLocation,
    IRouteEventProperties outputProperties,
    bool keepAllFields,
    IDatasetName outputName,
    string configKeyword,
    ITrackCancel trackCancel
);
[C++]
HRESULT LocatePointFeatures(
  double searchRadius,
  VARIANT_BOOL searchMultipleLocation,
  IRouteEventProperties* outputProperties,
  VARIANT_BOOL keepAllFields,
  IDatasetName* outputName,
  BSTR configKeyword,
  ITrackCancel* trackCancel
);
[C++]
Parameters
searchRadius [in]

searchRadius is a parameter of type double searchMultipleLocation [in]
searchMultipleLocation is a parameter of type bool outputProperties [in]
outputProperties is a parameter of type IRouteEventProperties* keepAllFields [in]
keepAllFields is a parameter of type bool outputName [in]
outputName is a parameter of type IDatasetName* configKeyword [in]
configKeyword is a parameter of type BSTR trackCancel [in]
trackCancel is a parameter of type ITrackCancel*

Product Availability

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

Description

Creates a table that can be used to display point events on a map.

Remarks

For the searchMultipleLocation parameter, if the point falls on more than one route for the given searchRadius, you can have the option to create multiple event records that correspond to each route in the searchRadius vicinity. 

The keepAllFields Boolean allows you to include or disinclude the attributes of the point feature class.  If this is set to False, the otuput event table will only contain the route event properties (IRouteEventProperties).

See Also

IRouteLocatorOperations Interface