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


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

NALocatorLocationFieldsAgentClass Class

Defines the network location fields to be used by a locator.

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.
INALocatorAgent Provides access to properties common to all locator agents.
INALocatorAgent2 Provides access to properties common to all locator agents.
INALocatorAgent3 Provides access to properties common to all locator agents.
INALocatorLocationFieldsAgent Provides access to the field names used by the locator.
INALocatorLocationFieldsAgent2 Provides access to the field names used by the locator.
IPersist (esriSystem)
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

The NALocatorLocationFieldsAgent object uses existing source ID, OID and position information to find network locations.  This is much faster than the spatial searching that the NALocatorFeatureAgent uses.

When you solve a network analysis problem, you can export, for example, the stops with this information.  If your network locations are not changing often (e.g., your restaurants don't move around), then using network location fields and this locator agent is the most efficient way to store and restore network locations.