Evaluate an expression which is expected to return an ISDateRange value.

Built-in functions cannot handler ISDateRange values. This is for use by external functions such as ISParameters.

Syntax

ISEval.EvaluateDateRange(expression, returnValue, [errorOnInvalidReturnType], [defaultValue])

Parameters

NameTypeOptionalByRefDescription
expression String The Expression to evaluate.
returnValue ISDateRange ByRef The Return Value of a successfully evaluated expression.
errorOnInvalidReturnType Boolean Optional Indicates whether an error should occur if the Type of the value returned from evaluating the expression is not Date. If omitted, a value of True is assumed.
defaultValue ISDateRange Optional The Value that will be returned in ReturnValue if errorOnInvalidReturnType is False and the value returned from evaluating the expression is not Date. If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISEval
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0