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


INALocatorAgent.Bind Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocatorAgent.Bind Method

Re-associate the locator with the given network dataset and its schema.

[Visual Basic .NET]
Public Sub Bind ( _
    ByVal pNetworkDataset As INetworkDataset, _
    ByVal pGPMessages As IGPMessages _
)
[C#]
public void Bind (
    INetworkDataset pNetworkDataset,
    IGPMessages pGPMessages
);
[C++]
HRESULT Bind(
  INetworkDataset* pNetworkDataset,
  IGPMessages* pGPMessages
);
[C++]

Parameters pNetworkDataset [in]
pNetworkDataset is a parameter of type INetworkDataset* pGPMessages [in]
pGPMessages is a parameter of type IGPMessages*

Product Availability

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

Remarks

Bind re-associates the NALocator with a network dataset.  This method must be called before calling any of the Query functions.

See Also

INALocatorAgent Interface