|  | 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 > IRouteLocator2 Interface (ArcObjects .NET 10.5 SDK) | 
Provides access to properties and methods of a route locator.
| Description | ||
|---|---|---|
|  | Extent | The route locator's extent (same a route feature class' extent). | 
|  | GetRouteGeometry | The route(s) corresponding to the route location. | 
|  | HasSpatialIndex | Indicates if the route feature class has a spatial index. | 
|  | HasZs | Indicates whether the route locator is Z-Aware. | 
|  | Identify | Identify route locations in an envelope. | 
|  | Locate | Locates a point or line route location. | 
|  | LocateRow | Locates an event table row containing a point or line route location. | 
|  | MeasureUnit | The units of the route measures. | 
|  | RouteFeatureClass | The route feature class (Polyline with M feature class). | 
|  | RouteIDFieldIndex | The field index of the route identifier. | 
|  | RouteIDFieldName | The route identifier field from the route feature class. | 
|  | RouteIDFieldNameDelimited | The delimited route identifier field of the route feature class. | 
|  | RouteIDIsIndexed | Indicates if the route ID has an index. | 
|  | RouteIDIsString | Indicates if the route identifier field type is string. | 
|  | RouteIDIsUnique | Indicates whether the route ID is unique (Obsolete). | 
|  | RouteWhereClause | The where clause that limits the routes events can be located on. | 
|  | SpatialReference | The route locator's spatial reference (same as route feature class' spatial reference). | 
| Interfaces | Description | 
|---|---|
| IRouteLocator | Provides access to properties and methods of a route locator. | 
| CoClasses and Classes | Description | 
|---|---|
| RouteMeasureLocator | Route measure locator object. | 
The IRouteLocator2 Interface allows you to return a route location, IRouteLocation, by specifying an envelope, IEnvelope.