This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IU > IUtilityNetworkGEN Interface > IUtilityNetworkGEN.SetFlowDirection Method (ArcObjects .NET 10.4 SDK) |
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
SetFlowDirection will set the flow direction for the specified edge element. Flow direction can be set to one of these possible values:
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.