ArcObjects Library Reference (NetworkAnalysis)  

ITraceFlowSolverGEN.FindFlowElements Method

Finds all reachable network elements based on the specified flow method.

[Visual Basic .NET]
Public Sub FindFlowElements ( _
    ByVal flowMethod As esriFlowMethod, _
    ByVal flowElements As esriFlowElements, _
    ByRef junctionEIDs As IEnumNetEID, _
    ByRef edgeEIDs As IEnumNetEID _
)
[C#]
public void FindFlowElements (
    esriFlowMethod flowMethod,
    esriFlowElements flowElements,
    ref IEnumNetEID junctionEIDs,
    ref IEnumNetEID edgeEIDs
);
[C++]
HRESULT FindFlowElements(
  esriFlowMethod flowMethod,
  esriFlowElements flowElements,
  IEnumNetEID** junctionEIDs,
  IEnumNetEID** edgeEIDs
);
[C++]

Parameters

flowMethod [in]

  flowMethod is a parameter of type esriFlowMethod

flowElements [in]

  flowElements is a parameter of type esriFlowElements

junctionEIDs [out]

  junctionEIDs is a parameter of type IEnumNetEID

edgeEIDs [out]

  edgeEIDs is a parameter of type IEnumNetEID

Product Availability

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

Remarks

The FlowMethod parameter determines whether the trace solver traces upstream, downstream, or on all connected edges.  If you would like to allow or restrict tracing on edges with indeterminate or uninitialized flow, be sure to set the TraceIndeterminateFlow property prior to calling this trace solver.

The flowElements parameter determines whether edge elements, junction elements, or both are returned by the trace solver.

The trace solver will return the traced junction and edge element IDs in the junctionEIDs and edgeEIDs parameters respectively.

See Also

ITraceFlowSolverGEN Interface