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


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

IRouteLocator.Locate Method

Locates a point or line route location.

[Visual Basic .NET]
Public Sub Locate ( _
    ByVal routeLocation As IRouteLocation, _
    ByRef result As IGeometry, _
    ByRef LocatingError As esriLocatingError _
)
[C#]
public void Locate (
    IRouteLocation routeLocation,
    ref IGeometry result,
    ref esriLocatingError LocatingError
);
[C++]
HRESULT Locate(
  IRouteLocation* routeLocation,
  IGeometry** result,
  esriLocatingError* LocatingError
);
[C++]
Parameters
routeLocation [in]

routeLocation is a parameter of type IRouteLocation* result [out]
result is a parameter of type IGeometry** LocatingError [out]
LocatingError is a parameter of type esriLocatingError*

Product Availability

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

See Also

IRouteLocator Interface