This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteLocator Interface > IRouteLocator.Locate Method (ArcObjects .NET 10.5 SDK) |
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