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


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

INARouteSolver2.StartTime Property

Specifies the time the route begins.

[Visual Basic .NET]
Public Property StartTime As DateTime
[C#]
public DateTime StartTime {get; set;}
[C++]
HRESULT get_StartTime(
  DATE Value
);
[C++]
HRESULT put_StartTime(
  System.DateTime* Value
);
[C++]
Parameters
Value [in]

Value is a parameter of type DATE Value [out, retval]
Value is a parameter of type DATE*

Product Availability

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

Remarks

StartTime specifies the route's start time.  This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.

To specify days of the week, use the following chart:

Interpreted Day Specific Date to Pass to the Solver
Today 12/30/1899
Sunday 12/31/1899
Monday 1/1/1900
Tuesday 1/2/1900
Wednesday 1/3/1900
Thursday 1/4/1900
Friday 1/5/1900
Saturday 1/6/1900

See Also

INARouteSolver2 Interface

.NET Samples

ArcGIS Network Analyst extension Engine application