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


ITrafficDataManager.ConvertTMCToKey Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITrafficDataManager.ConvertTMCToKey Method

Converts a TMC string to a unique integer key value.

[Visual Basic .NET]
Public Function ConvertTMCToKey ( _
    ByVal tmcCode As String _
) As Integer
[C#]
public uint ConvertTMCToKey (
    string tmcCode
);
[C++]
HRESULT ConvertTMCToKey(
  BSTR tmcCode,
  Unsigned long* pKey
);
[C++]

Parameters tmcCode [in] tmcCode is a parameter of type BSTR pKey [out, retval] pKey is a parameter of type Unsigned long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The alpha-numeric TMC string values must be converted to unique integer key values in order to be used by Insert to place associated speeds in a dynamic traffic file.

See Also

ITrafficDataManager Interface