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


IUtilityNetworkGEN.SetFlowDirection Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IUtilityNetworkGEN.SetFlowDirection Method

Sets the flow direction for the specified edge element.

[Visual Basic .NET]
Public Sub SetFlowDirection ( _
    ByVal edgeEID As Integer, _
    ByVal flowDirection As esriFlowDirection _
)
[C#]
public void SetFlowDirection (
    int edgeEID,
    esriFlowDirection flowDirection
);
[C++]
HRESULT SetFlowDirection(
  long edgeEID,
  esriFlowDirection flowDirection
);
[C++]

Parameters edgeEID [in] edgeEID is a parameter of type long flowDirection [in]
flowDirection is a parameter of type esriFlowDirection

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

SetFlowDirection will set the flow direction for the specified edge element.  Flow direction can be set to one of these possible values:

esriFDAgainstFlow

esriFDIndeterminate

esriFDUninitialized

esriFDWithFlow

 

This operation requires that you make the network editable. You can do this either through an edit session using the Editor, or you can use the IWorkspaceEdit interface to edit the workspace of the logical network.

See Also

IUtilityNetworkGEN Interface