This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAAgent Interface > INAAgent.Initialize Method (ArcObjects .NET 10.4 SDK) |
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
Initialize is called when the NAContext::Bind is called and the NAContext is getting into a consistent state.