Evalutes the parsed expression, returns defValue if expression fails to calculate or returned value can not be interpret as bool.
シンタックス
'宣言
Public Overloads Function Evaluate( _
ByVal As Expression, _
ByVal As System.Boolean _
) As System.Boolean
'使用法
Dim instance As ReportScriptContextBase
Dim expression As Expression
Dim defValue As System.Boolean
Dim value As System.Boolean
value = instance.Evaluate(expression, defValue)
public System.bool Evaluate(
Expression ,
System.bool
)
パラメータ
- expression
- A string with a VBScript expression to be evaluated.
- defValue
参照