[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IReadonlyPrimitiveValue.GetTime

GetTime Method

GetTime(IEvaluationContext, bool)

Gets the TimeSpan value.

Declaration
TimeSpan GetTime(IEvaluationContext context = null, bool catchError = true)
Function GetTime(Optional context As IEvaluationContext = Nothing, Optional catchError As Boolean = True) As TimeSpan
Parameters
Type Name Description
IEvaluationContext context

The evaluation context to get value.

bool catchError

true if the evaluation context will track calculation error; otherwise, false.

Returns
Type Description
TimeSpan

An TimeSpan value.