This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator Interface > INALocator.Bind Method (ArcObjects .NET 10.4 SDK) |
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
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.