This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITimeAwareEvaluator Interface > ITimeAwareEvaluator.QueryValueAtTime Method (ArcObjects .NET 10.4 SDK) |
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