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


INAClassLoader2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAClassLoader2 Interface

Provides access to populate network analysis classes in preparation for analysis.

Product Availability

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

Members

Description
Read/write property AddressLocator The address locator to be used.
Read/write property FieldMap The field mapping definition.
Method Initialize Quickly initializes the class loader to be able to load information from a cursor into a given NAClass.
Method Load Populate the network analysis class.
Read/write property Locator The locator to be used.
Read/write property NAClass The network analysis class.
Read/write property SnapOffsetDistance The snap offset distance from the network.
Read/write property SnapOffsetUnits The snap offset units.
Read/write property SnapToNetwork Indicates if the geometry should be snapped to the network.

Inherited Interfaces

Interfaces Description
INAClassLoader Provides access to populate network analysis classes in preparation for analysis.

CoClasses that implement INAClassLoader2

CoClasses and Classes Description
NAClassLoader Loads a network class based on its field maps.

Remarks

The INAClassLoader2 interface is used, for example, to populate stop locations from a point feature class.  It is also used to specify the snapping and reverse-geocoding properties of the NAClassLoader object.

 

 

.NET Snippets

Load Network Locations

.NET Samples

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

.NET Related Topics

How to load data into a network analysis problem