This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolver Interface > INASolver.Bind Method (ArcObjects .NET 10.4 SDK) |
Re-associate the solver with the given network dataset and its schema.
[Visual Basic .NET] Public Sub Bind ( _ ByVal Context As INAContext, _ ByVal network As IDENetworkDataset, _ ByVal messages As IGPMessages _ )
[C#] public void Bind ( INAContext Context, IDENetworkDataset network, IGPMessages messages );
[C++]
HRESULT Bind(
INAContext* Context,
IDENetworkDataset* network,
IGPMessages* messages
);
[C++]
Parameters Context [in]
Context is a parameter of type INAContext network [in]
network is a parameter of type IDENetworkDataset messages [in]
messages is a parameter of type IGPMessages
Calling Bind on the solver re-attaches the solver to the NAContext based on the current NetworkDataset settings.