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


INAContextEvents2.OnBindToNetworkDataset Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAContextEvents2.OnBindToNetworkDataset Event

Called when the network analysis context is bound to a network dataset.

[Visual Basic .NET]
Public Event OnBindToNetworkDataset As OnBindToNetworkDatasetEventHandler
[C#]
public event OnBindToNetworkDatasetEventHandler OnBindToNetworkDataset
[C++]
HRESULT OnBindToNetworkDataset(
  INAContext* NAContext,
  INetworkDataset* previousNetworkDataset
);
[C++]

Parameters NAContext [in]
NAContext is a parameter of type INAContext previousNetworkDataset [in]
previousNetworkDataset is a parameter of type INetworkDataset

Product Availability

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

Remarks

OnBindToNetworkDataset is raised in response to Bind being called on INAContextEdit.

See Also

INAContextEvents2 Interface