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


INAAgent.Initialize Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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