GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IPrimitiveValue Interface / GetTime Method
The evaluation context to get value.
true if the evaluation context will track calculation error; otherwise, false.


In This Topic
GetTime Method (IPrimitiveValue)
In This Topic
Gets the System.TimeSpan value.
Syntax
'Declaration
 
Function GetTime( _
   Optional ByVal context As IEvaluationContext, _
   Optional ByVal catchError As Boolean _
) As TimeSpan
 
'Usage
 
Dim instance As IPrimitiveValue
Dim context As IEvaluationContext
Dim catchError As Boolean
Dim value As TimeSpan
 
value = instance.GetTime(context, catchError)

Parameters

context
The evaluation context to get value.
catchError
true if the evaluation context will track calculation error; otherwise, false.

Return Value

An System.TimeSpan value.
See Also