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


IJunctionFlag Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IJ > IJunctionFlag Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalysis)  

IJunctionFlag Interface

Indicator interface that identifies the junction flags on the network.

Product Availability

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

When To Use

Junction flags are the beginning points of traces on junction feature in a network. Use the IJunctionFlag interface to create a flag on a junction element in your network.

CoClasses that implement IJunctionFlag

CoClasses and Classes Description
JunctionFlag A container for defining a network flag on a junction element for a trace flow solver.

Remarks

For more information on network flags see the NetFlag object.

[C#]

Use the following code to create a junction flag on a junction:

INetFlag junctionFlag=new JunctionFlagClass() as INetFlag;
junctionFlag.UserClassID=userClassID;
junctionFlag.UserID=userID;
junctionFlag.UserSubID=userSubID;

To create a flag on an edge element use the EdgeFlag object.

[Visual Basic .NET]

Use the following code to create a junction flag on a junction:

Dim junctionFlag As INetFlag=New JunctionFlag
junctionFlag.UserClassID=userClassID
junctionFlag.UserID=userID
junctionFlag.UserSubID=userSubID

To create a flag on an edge element use the EdgeFlag object.

See Also

INetFlag Interface | IJunctionFlag Interface | IEdgeFlag Interface

.NET Samples

Custom upstream trace task (Code Files: CustomUpstreamTraceTaskVBNet)