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


IRouteLocator.GetRouteGeometry Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

IRouteLocator.GetRouteGeometry Method

The route(s) corresponding to the route location.

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

Parameters routeLocation [in]
routeLocation is a parameter of type IRouteLocation routeGeometry [out]
routeGeometry 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