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


INetworkAnalysisExt.CurrentNetwork Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IN > INetworkAnalysisExt Interface > INetworkAnalysisExt.CurrentNetwork Property
ArcGIS Developer Help

INetworkAnalysisExt.CurrentNetwork Property

Current network being used by the Network Analysis extension.

[Visual Basic .NET]
Public Property CurrentNetwork As IGeometricNetwork
[C#]
public IGeometricNetwork CurrentNetwork {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

The CurrentNetwork property can only be Set to one of the geometric networks added to the Network Analysis Extension object.  These geometric networks can be found in the Network property.  Call AddNetwork to add a geometric network to the Network Analysis Extension, and call DeleteNetwork to remove it from the Extension.

See Also

INetworkAnalysisExt Interface

.NET Samples

Custom upstream trace task Set flow by digitized direction