This document is archived and information here might be outdated.  Recommended version.


IEnumTrafficIncidents.Next Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

IEnumTrafficIncidents.Next Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

Next returns the next traffic incident.  The values array should hold one incident value for each field in the Fields property of IEnumTrafficIncidents.

See Also

IEnumTrafficIncidents Interface