ArcObjects Library Reference (NetworkAnalyst)  

INAServerClosestFacilityParams.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

INAServerClosestFacilityParams Interface

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) |