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


ITrafficProvider.GetSpeedsData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IT > ITrafficProvider Interface > ITrafficProvider.GetSpeedsData Method
ArcGIS Developer Help

ITrafficProvider.GetSpeedsData Method

Retrieves enumerator for traffic data sequence for the specified task.

[Visual Basic .NET]
Public Function GetSpeedsData ( _
    ByVal PredictionDepthInMinutes As Integer, _
    ByVal pRegions As IArray, _
    ByVal pProviderCredentials As ITrafficProviderCredentials _
) As IEnumTrafficRegionSpeeds
[C#]
public IEnumTrafficRegionSpeeds GetSpeedsData (
    int PredictionDepthInMinutes,
    IArray pRegions,
    ITrafficProviderCredentials pProviderCredentials
);
[C++]
HRESULT GetSpeedsData(
  long PredictionDepthInMinutes,
  IArray* pRegions,
  ITrafficProviderCredentials* pProviderCredentials
);
[C++]
Parameters
PredictionDepthInMinutes [in]

PredictionDepthInMinutes is a parameter of type long pRegions [in]
pRegions is a parameter of type IArray* pProviderCredentials [in]
pProviderCredentials is a parameter of type ITrafficProviderCredentials*

Product Availability

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

Remarks

Based on an array of objects implementing ITrafficRegion, an object implementing ITrafficProviderCredentials, and a prediction depth cutoff value, GetSpeedsData returns an enumerator of traffic speed entries by region.

See Also

ITrafficProvider Interface