Evaluate an expression which is expected to return a Date value.

Syntax

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

Parameters

NameTypeOptionalByRefDescription
expression String The Expression to evaluate.
returnValue Date 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 Date 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 ISRuntime.OptionalNullDate 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