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


INALocator.Bind Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocator.Bind Method

Re-associate the locators 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 will associate all of the contained NALocator objects with the input network dataset specified.  This method must be called before calling any of the Query functions.

See Also

INALocator Interface