This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IE > IEnumTrafficRegionIncidents Interface > IEnumTrafficRegionIncidents.Next Method (ArcObjects .NET 10.5 SDK) |
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(
BSTR* 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
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.