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


IEnumTrafficIncidents.Next Method (ArcObjects .NET 10.6 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(
void
);

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