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


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

IRouteLocator Interface

Provides access to properties and methods of a route locator. Note: the IRouteLocator interface has been superseded by IRouteLocator2. Please consider using the more recent version.

Product Availability

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

Members

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.
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 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).

Classes that implement IRouteLocator

Classes Description
RouteMeasureLocator Route measure locator object.