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

Syntax

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

Parameters

NameTypeOptionalByRefDescription
expression String The Expression to evaluate.
returnValue Boolean 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 Boolean. If omitted, a value of True is assumed.
defaultValue Boolean Optional The Value that will be returned in ReturnValue if errorOnInvalidReturnType is False and the value returned from evaluating the expression is not Boolean. If omitted, a value of False 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