Finds the total cost of all reachable network elements based on the specified flow method.
[Visual Basic .NET] Public Sub FindAccumulation ( _ ByVal flowMethod As esriFlowMethod, _ ByVal flowElements As esriFlowElements, _ ByRef junctionEIDs As IEnumNetEID, _ ByRef edgeEIDs As IEnumNetEID, _ ByRef pTotalCost As Object _ )
[C#] public void FindAccumulation ( esriFlowMethod flowMethod, esriFlowElements flowElements, ref IEnumNetEID junctionEIDs, ref IEnumNetEID edgeEIDs, ref object pTotalCost );
[C++]
HRESULT FindAccumulation(
esriFlowMethod flowMethod,
esriFlowElements flowElements,
IEnumNetEID** junctionEIDs,
IEnumNetEID** edgeEIDs,
VARIANT* pTotalCost
);
[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
pTotalCost [out] pTotalCost is a parameter of type VARIANT
Product Availability
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, and will return the total cost of the traced elements in the pTotalCost parameter.