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


INAContextEvents2.OnBindToNetworkDataset Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEvents2 Interface > INAContextEvents2.OnBindToNetworkDataset Event
ArcGIS Developer Help

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