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

IRouteLocator.GetRouteGeometry 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.GetRouteGeometry Method
ArcGIS Developer Help

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 _
public void GetRouteGeometry (
    IRouteLocation routeLocation,
    ref IGeometry routeGeometry,
    ref esriLocatingError LocatingError
HRESULT GetRouteGeometry(
  IRouteLocation* routeLocation,
  IGeometry** routeGeometry,
  esriLocatingError* LocatingError
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