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

RouteLayerExtension Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Classes > R > RouteLayerExtension Class
ArcGIS Developer Help

RouteLayerExtensionClass Class

Layer Extension for route feature class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.


Interfaces Description
ILayerExtensionDraw (esriCarto) Provides access to events before and after a layer draws.
IPersistStream (esriSystem)
IRouteLayerExtension Provides access to the route layer extension.
ISupportErrorInfo (esriSystem)


The RouteLayerExtension is a FeatureLayer extension which provides information about RouteMeasureLocatorName, and allows you to set the route reference's route identifier.   In ArcMap, RouteLayerExtension object gets created everytime a PolylineM feature class is added. 

See Also

IRouteLayerExtension Interface