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


INetworkAnalysisExt.CurrentNetwork Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (EditorExt)  

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 (Code Files: CustomUpstreamTraceTaskVBNet) | Set flow by digitized direction (Code Files: SetFlowByDigitizedDirectionVBNet)