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

IRouteLocator2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteLocator2 Interface
ArcGIS Developer Help

IRouteLocator2 Interface

Provides access to properties and methods of a route locator.

Product Availability

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


Name Description
Read-only property Extent The route locator's extent (same a route feature class' extent).
Method GetRouteGeometry The route(s) corresponding to the route location.
Read-only property HasSpatialIndex Indicates if the route feature class has a spatial index.
Read-only property HasZs Indicates whether the route locator is Z-Aware.
Method Identify Identify route locations in an envelope.
Method Locate Locates a point or line route location.
Method LocateRow Locates an event table row containing a point or line route location.
Read-only property MeasureUnit The units of the route measures.
Read-only property RouteFeatureClass The route feature class (Polyline with M feature class).
Read-only property RouteIDFieldIndex The field index of the route identifier.
Read-only property RouteIDFieldName The route identifier field from the route feature class.
Read-only property RouteIDFieldNameDelimited The delimited route identifier field of the route feature class.
Read-only property RouteIDIsIndexed Indicates if the route ID has an index.
Read-only property RouteIDIsString Indicates if the route identifier field type is string.
Read-only property RouteIDIsUnique Indicates whether the route ID is unique (Obsolete).
Read/write property RouteWhereClause The where clause that limits the routes events can be located on.
Read-only property SpatialReference The route locator's spatial reference (same as route feature class' spatial reference).

Inherited Interfaces

Interfaces Description
IRouteLocator Provides access to properties and methods of a route locator.

Classes that implement IRouteLocator2

Classes Description
RouteMeasureLocator Route measure locator object.


The IRouteLocator2 Interface allows you to return a route location, IRouteLocation, by specifying an envelope, IEnvelope.



See Also

IRouteLocator Interface