FlexReport for WinForms
Evaluate(Expression,Boolean) メソッド


C1.Report アセンブリ > C1.Report.ScriptEngine 名前空間 > ReportScriptContextBase クラス > Evaluate メソッド : Evaluate(Expression,Boolean) メソッド
A string with a VBScript expression to be evaluated.
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 expression As Expression, _
   ByVal defValue 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 expression,
   System.bool defValue
)

パラメータ

expression
A string with a VBScript expression to be evaluated.
defValue
参照

参照

ReportScriptContextBase クラス
ReportScriptContextBase メンバ
オーバーロード一覧