ArcObjects Library Reference (NetworkAnalyst)  

INAVRPSolver.TimeFieldUnits Property

The units for time fields in the NA classes.

[Visual Basic .NET]
Public Property TimeFieldUnits As esriNetworkAttributeUnits
[C#]
public esriNetworkAttributeUnits TimeFieldUnits {get; set;}
[C++]
HRESULT get_TimeFieldUnits(
  esriNetworkAttributeUnits* Units
);
[C++]
HRESULT put_TimeFieldUnits(
  esriNetworkAttributeUnits Units
);
[C++]

Parameters

Units [out, retval]

  Units is a parameter of type esriNetworkAttributeUnits

Units [in]

  Units is a parameter of type esriNetworkAttributeUnits

Product Availability

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

Remarks

The TimeFieldUnits property specifies the unit of time to associate with the time-based input and output field values of NAClasses within a VRP NAContext. Examples of such time-based fields include the ServiceTime field on the Orders NAClass and the CostPerUnitTime field on the Routes NAClass. This time unit need not agree with the time unit of the impedance cost attribute. For example, the client may use an impedance cost attribute based on minutes but use seconds for the time-based field values.

See Also

INAVRPSolver Interface

.NET Snippets

Set Vehicle Routing Problem Properties |

.NET Samples

Network Analyst Engine application (Code Files: frmNALayerProperties) |