共用方式為


CodeCondition.Evaluate(Activity, IServiceProvider) 方法

定義

評估基礎條件。

public:
 override bool Evaluate(System::Workflow::ComponentModel::Activity ^ ownerActivity, IServiceProvider ^ provider);
public override bool Evaluate (System.Workflow.ComponentModel.Activity ownerActivity, IServiceProvider provider);
override this.Evaluate : System.Workflow.ComponentModel.Activity * IServiceProvider -> bool
Public Overrides Function Evaluate (ownerActivity As Activity, provider As IServiceProvider) As Boolean

參數

ownerActivity
Activity

與這個條件相關聯的 Activity

provider
IServiceProvider

用於此條件評估的 IServiceProvider

傳回

Boolean

如果條件評估為 true,則為 true,否則為 false。 預設為 false

適用於