This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IE > IEnumTrafficSpeeds Interface > IEnumTrafficSpeeds.Next Method (ArcObjects .NET 10.4 SDK) |
Retrieve next record in speed data. The values correspond to time slices.
[Visual Basic .NET] Public Sub Next ( _ ByRef pKey As String, _ ByRef ppValues As IVariantArray _ )
[C#] public void Next ( ref string pKey, ref IVariantArray ppValues );
[C++]
HRESULT Next(
BSTR* pKey,
IVariantArray** ppValues
);
[C++]
Parameters pKey [out] pKey is a parameter of type BSTR ppValues [out]
ppValues is a parameter of type IVariantArray
The key value should be a TMC entry associated with a given section of road.
The values array is an array of speeds. There should be one speed entry for every time slice in the TimeSlices array property of IEnumTrafficSpeeds. The speeds should be short integers (Int16 in .NET).