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


NALocator Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Classes > N > NALocator Class
ArcGIS Developer Help

NALocatorClass Class

Finds network locations for analysis.

Product Availability

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

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
INALocator Provides access to properties that apply to all network locators.
INALocator2 Provides access to properties that apply to all network locators.
INALocator3 Provides access to properties that apply to all network locators.
IPersist (esriSystem)
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

NALocator is a top-level container for managing and using network locators.  It has a collection of Locator Agents that do the work of finding the locations.

While NALocators are CoCreateable, you typically get the NALocator from the NAContext, which sets up the locator appropriately for the network dataset and type of analysis.