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,
VARIANT_BOOL* supportsTraffic,
VARIANT_BOOL* supportsRealTimeValue,
VARIANT_BOOL* hasRealTimeValue,
double* attributeValueRatio
);
[C++]Parameters
direction [in]direction is a parameter of type esriNetworkEdgeDirection
supportsTraffic [out] supportsTraffic is a parameter of type VARIANT_BOOL supportsRealTimeValue [out] supportsRealTimeValue is a parameter of type VARIANT_BOOL hasRealTimeValue [out] hasRealTimeValue is a parameter of type VARIANT_BOOL attributeValueRatio [out] attributeValueRatio is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.