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


INetworkDirections.TimeAttributeName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDirections Interface > INetworkDirections.TimeAttributeName Property
ArcGIS Developer Help

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(
  System.String* 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