This document is archived and information here might be outdated. Recommended version. |
Retrieves the traffic speed ratio and traffic support status for the specified direction of the current element id.
[Visual Basic .NET] Public Sub GetTrafficValue ( _ ByVal direction As esriNetworkEdgeDirection, _ ByRef supportsTraffic As Boolean, _ ByRef supportsRealTimeValue As Boolean, _ ByRef hasRealTimeValue As Boolean, _ ByRef attributeValueRatio As Double _ )
[C#] public void GetTrafficValue ( esriNetworkEdgeDirection direction, ref bool supportsTraffic, ref bool supportsRealTimeValue, ref bool hasRealTimeValue, ref double attributeValueRatio );
[C++]
HRESULT GetTrafficValue(
esriNetworkEdgeDirection direction,
Boolean* supportsTraffic,
Boolean* supportsRealTimeValue,
Boolean* hasRealTimeValue,
System.Double* attributeValueRatio
);
[C++]
Parameters direction [in]
direction is a parameter of type esriNetworkEdgeDirection supportsTraffic [out]
supportsTraffic is a parameter of type bool* supportsRealTimeValue [out]
supportsRealTimeValue is a parameter of type bool* hasRealTimeValue [out]
hasRealTimeValue is a parameter of type bool* attributeValueRatio [out]
attributeValueRatio is a parameter of type double*