共用方式為


IRuleExpression.Validate(RuleValidation, Boolean) 方法

定義

在衍生類別中覆寫時,會驗證運算式已正確設定,而且沒有任何錯誤。

public:
 System::Workflow::Activities::Rules::RuleExpressionInfo ^ Validate(System::Workflow::Activities::Rules::RuleValidation ^ validation, bool isWritten);
public System.Workflow.Activities.Rules.RuleExpressionInfo Validate (System.Workflow.Activities.Rules.RuleValidation validation, bool isWritten);
abstract member Validate : System.Workflow.Activities.Rules.RuleValidation * bool -> System.Workflow.Activities.Rules.RuleExpressionInfo
Public Function Validate (validation As RuleValidation, isWritten As Boolean) As RuleExpressionInfo

參數

validation
RuleValidation

管理驗證程序的 RuleValidation

isWritten
Boolean

如果正在寫入運算式,則為 true,如果未寫入運算式,則為 false

傳回

運算式的 RuleExpressionInfo

適用於