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


INAClassLoader2.Initialize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassLoader2 Interface > INAClassLoader2.Initialize Method
ArcGIS Developer Help

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 Samples

ArcGIS Network Analyst extension Engine application