This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IE > IEdgeFlag Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that return and set properties that are specific to edge flags on the network.
Description | ||
---|---|---|
Position | Position of the flag along the edge. | |
TwoWay | Indicates if the trace can proceed in either direction from this edge flag. |
CoClasses and Classes | Description |
---|---|
EdgeFlag | A container for defining a network flag on an edge element for a trace flow solver. |
Edge flags can only be created on edges. If you want to create a flag on a junction use IJunctionFlag.
You can create an edge flag by doing the following:
INetFlag edgeFlag=new EdgeFlagClass() as INetFlag;
edgeFlag.UserClassID=userClassID;
edgeFlag.UserID=userID;
edgeFlag.UserSubID=userSubID;
To use your newly created edge flag for tracing, see the ITraceFlowSolver help for how to do it.
You can create an edge flag by doing the following:
Dim edgeFlag As INetFlag=New EdgeFlag
edgeFlag.UserClassID=userClassID
edgeFlag.UserID=userID
edgeFlag.UserSubID=userSubID
To use your newly created edge flag for tracing, see the ITraceFlowSolver help for how to do it.
INetFlag Interface | IJunctionFlag Interface | IEdgeFlag Interface