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


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

IEnumTrafficRegionSpeeds.Next Method

Retrieves next traffic speed data from the sequence.

[Visual Basic .NET]
Public Sub Next ( _
    ByRef pRegionName As String, _
    ByRef ppSpeeds As IEnumTrafficSpeeds, _
    ByRef ppMessages As IGPMessages _
)
[C#]
public void Next (
    ref string pRegionName,
    ref IEnumTrafficSpeeds ppSpeeds,
    ref IGPMessages ppMessages
);
[C++]
HRESULT Next(
  BSTR* pRegionName,
  IEnumTrafficSpeeds** ppSpeeds,
  IGPMessages** ppMessages
);
[C++]

Parameters pRegionName [out] pRegionName is a parameter of type BSTR ppSpeeds [out]
ppSpeeds is a parameter of type IEnumTrafficSpeeds 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

IEnumTrafficRegionSpeeds Interface