|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Classes > R > RouteLayerExtension CoClass (ArcObjects .NET 10.5 SDK) | 
Layer Extension for route feature class.
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 | Indicates whether a specific interface can return Automation error objects. | 
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.