ArcObjects Library Reference (Location)  

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