This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocatorAgent Interface > INALocatorAgent.Bind Method (ArcObjects .NET 10.4 SDK) |
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
Bind re-associates the NALocator with a network dataset. This method must be called before calling any of the Query functions.