ArcObjects Library Reference (NetworkAnalyst)  

INAServerRouteParams.DirectionsTimeAttributeName Property

Name of network attribute to use for the drive time when computing directions.

[Visual Basic .NET]
Public Property DirectionsTimeAttributeName As String
[C#]
public string DirectionsTimeAttributeName {get; set;}
[C++]
HRESULT get_DirectionsTimeAttributeName(
  BSTR* DirectionsTimeAttributeName
);
[C++]
HRESULT put_DirectionsTimeAttributeName(
  BSTR DirectionsTimeAttributeName
);
[C++]

Parameters

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

Product Availability

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

Remarks

DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.

See Also

INAServerRouteParams Interface

.NET Samples

Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |