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


ITimeAwareEvaluator.QueryValueAtTime Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITimeAwareEvaluator.QueryValueAtTime Method

Query the travel time for the current time.

[Visual Basic .NET]
Public Function QueryValueAtTime ( _
    ByVal Element As INetworkElement, _
    ByVal localTime As DateTime, _
    ByVal timeUsage As esriNetworkTimeUsage _
) As Object
[C#]
public object QueryValueAtTime (
    INetworkElement Element,
    DateTime localTime,
    esriNetworkTimeUsage timeUsage
);
[C++]
HRESULT QueryValueAtTime(
  INetworkElement* Element,
  DATE localTime,
  esriNetworkTimeUsage timeUsage,
  VARIANT* Value
);
[C++]

Parameters Element [in]
Element is a parameter of type INetworkElement localTime [in] localTime is a parameter of type DATE timeUsage [in]
timeUsage is a parameter of type esriNetworkTimeUsage Value [out, retval] Value is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITimeAwareEvaluator Interface