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


INAVRPSolver.TimeFieldUnits Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAVRPSolver Interface > INAVRPSolver.TimeFieldUnits Property
ArcGIS Developer Help

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 Samples

ArcGIS Network Analyst extension Engine application