ArcObjects Library Reference (GeoDatabase)  

INetworkDirections.TimeAttributeName Property

The name of the network attribute to be used for reporting travel time.

[Visual Basic .NET]
Public Property TimeAttributeName As String
[C#]
public string TimeAttributeName {get; set;}
[C++]
HRESULT get_TimeAttributeName(
  BSTR* Name
);
[C++]
HRESULT put_TimeAttributeName(
  BSTR Name
);
[C++]

Parameters

Name [out, retval]   Name is a parameter of type BSTR Name [in]   Name is a parameter of type BSTR

Product Availability

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

Remarks

The TimeAttributeName property is the attribute that will be used for time measurements.  The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a unit of time and must be a Cost attribute.

See Also

INetworkDirections Interface