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


INAAgent.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 > INAAgent Interface > INAAgent.Initialize Method
ArcGIS Developer Help

INAAgent.Initialize Method

Get the agent ready for action.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal network As IDENetworkDataset, _
    ByVal contextHelper As INAContextHelper _
)
[C#]
public void Initialize (
    IDENetworkDataset network,
    INAContextHelper contextHelper
);
[C++]
HRESULT Initialize(
  IDENetworkDataset* network,
  INAContextHelper* contextHelper
);
[C++]
Parameters
network [in]

network is a parameter of type IDENetworkDataset* contextHelper [in]
contextHelper is a parameter of type INAContextHelper*

Product Availability

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

Remarks

Initialize is called when the NAContext::Bind is called and the NAContext is getting into a consistent state.

See Also

INAAgent Interface