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


INALocator2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocator2 Interface

Provides access to properties that apply to all network locators.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Members

Description
Method AddLocatorAgent Add a locator agent.
Method Bind Re-associate the locators with the given network dataset and its schema.
Method CreateDefault Make the default locators.
Read/write property FindClosestAmongAllAgents Indicates if the closest location (only) should be returned.
Method GeocodeLocation The network location at the specified address. Honors side of street if the address locator does.
Read-only property LocatorAgent The locator agent by index.
Read-only property LocatorAgentCount The number of locator agents added.
Read/write property MaxSnapTolerance The maximum distance that can be searched when expanding the snap tolerance. Has the same units as the snap tolerance.
Read-only property NetworkDataset The associated network dataset.
Read/write property OutputSpatialReference The spatial reference for points returned by the locator.
Method QueryLocationByPoint Use the locator agents to find a network location from a point.
Method QueryLocationByRow Use the locator agents to find a network location from a row.
Method QueryOffsetPoint The point offset from a network location.
Method QueryPoint The point for a network location.
Method RemoveLocatorAgent Remove a locator agent by index.
Method ReverseGeocodeLocation The address of the network location. Honors side of street if the address locator does.
Read/write property SnapTolerance The distance to search.
Read/write property SnapToleranceUnits The units of the snap tolerance.

Inherited Interfaces

Interfaces Description
INALocator Provides access to properties that apply to all network locators.

CoClasses that implement INALocator2

CoClasses and Classes Description
NALocator Finds network locations for analysis.

Remarks

INALocator2 has been superseded by INALocator3.

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)