ArcObjects Library Reference (NetworkAnalyst)  

NALocatorLocationFieldsAgent CoClass

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 Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
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.