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


IEnumTrafficRegionIncidents.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 > IEnumTrafficRegionIncidents Interface > IEnumTrafficRegionIncidents.Next Method
ArcGIS Developer Help

IEnumTrafficRegionIncidents.Next Method

Retrieves next incident data from the sequence.

[Visual Basic .NET]
Public Sub Next ( _
    ByRef pRegionName As String, _
    ByRef ppIncidents As IEnumTrafficIncidents, _
    ByRef ppMessages As IGPMessages _
)
[C#]
public void Next (
    ref string pRegionName,
    ref IEnumTrafficIncidents ppIncidents,
    ref IGPMessages ppMessages
);
[C++]
HRESULT Next(
  System.String* pRegionName,
  IEnumTrafficIncidents** ppIncidents,
  IGPMessages** ppMessages
);
[C++]
Parameters
pRegionName [out]

pRegionName is a parameter of type BSTR* ppIncidents [out]
ppIncidents is a parameter of type IEnumTrafficIncidents** ppMessages [out]
ppMessages is a parameter of type IGPMessages**

Product Availability

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

Remarks

Next returns the enumerator for the next region.  The region is identified by its name.  GPMessages that specify any data processing problems are returned as well.

See Also

IEnumTrafficRegionIncidents Interface