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


IEnumTrafficIncidents.Next Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IE > IEnumTrafficIncidents Interface > IEnumTrafficIncidents.Next Method
ArcGIS Developer Help

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