ArcObjects Library Reference (NetworkAnalyst)  

INAClassLoader2.Initialize Method

Quickly initializes the class loader to be able to load information from a cursor into a given NAClass.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal Context As INAContext, _
    ByVal NAClassName As String, _
    ByVal cursor As ICursor _
)
[C#]
public void Initialize (
    INAContext Context,
    string NAClassName,
    ICursor cursor
);
[C++]
HRESULT Initialize(
  INAContext* Context,
  BSTR NAClassName,
  ICursor* cursor
);
[C++]

Parameters

Context [in]

  Context is a parameter of type INAContext

NAClassName [in]   NAClassName is a parameter of type BSTR cursor [in]

  cursor is a parameter of type ICursor

Product Availability

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

Remarks

The INAClassLoader2::Initialize method sets the Locator, NAClass, and FieldMap properties otherwise set via methods on the INAClassLoader interface.

See Also

INAClassLoader2 Interface

.NET Snippets

Load Network Locations |

.NET Samples

Network Analyst Engine application (Code Files: frmLoadLocations) |

.NET Related Topics

How to load data into a network analysis problem |