共用方式為


RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) 方法

定義

評估運算式與所有子運算式。

public:
 static System::Workflow::Activities::Rules::RuleExpressionResult ^ Evaluate(System::Workflow::Activities::Rules::RuleExecution ^ execution, System::CodeDom::CodeExpression ^ expression);
public static System.Workflow.Activities.Rules.RuleExpressionResult Evaluate (System.Workflow.Activities.Rules.RuleExecution execution, System.CodeDom.CodeExpression expression);
static member Evaluate : System.Workflow.Activities.Rules.RuleExecution * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.RuleExpressionResult
Public Shared Function Evaluate (execution As RuleExecution, expression As CodeExpression) As RuleExpressionResult

參數

execution
RuleExecution

執行運算式的 RuleExecution

expression
CodeExpression

要評估的 CodeExpression

傳回

RuleExpressionResult,表示運算式評估的結果。

例外狀況

execution 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於