This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IE > IEnumTrafficIncidents Interface > IEnumTrafficIncidents.Next Method (ArcObjects .NET 10.4 SDK) |
Retrieve next record in incident data. The values correspond to time fields.
[Visual Basic .NET] Public Function Next ( _ ) As IVariantArray
[C#] public IVariantArray Next ( );
[C++]
HRESULT Next(
IVariantArray** ppValues
);
[C++]
Parameters ppValues [out, retval]
ppValues is a parameter of type IVariantArray
Next returns the next traffic incident. The values array should hold one incident value for each field in the Fields property of IEnumTrafficIncidents.