This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassLoader2 Interface > INAClassLoader2.Initialize Method (ArcObjects .NET 10.5 SDK) |
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
The INAClassLoader2::Initialize method sets the Locator, NAClass, and FieldMap properties otherwise set via methods on the INAClassLoader interface.