This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDirections Interface > INetworkDirections.TimeAttributeName Property (ArcObjects .NET 10.4 SDK) |
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
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.