ActivityDesigner.IsCommentedActivity(Activity) 方法

定義

傳回值,這個值指示目前設計工具的活動是否已加上註解或在已加上註解的活動內。Returns a value that indicates whether the current designer's activity is commented or is inside a commented activity.

public:
 static bool IsCommentedActivity(System::Workflow::ComponentModel::Activity ^ activity);
public static bool IsCommentedActivity (System.Workflow.ComponentModel.Activity activity);
static member IsCommentedActivity : System.Workflow.ComponentModel.Activity -> bool

參數

activity
Activity

Activity,位於目前的活動設計工具中。The Activity in the current activity designer.

傳回

如果活動已加上註解或在已加上註解的活動內則為 true,否則為 falsetrue if the activity is commented or is inside a commented activity; otherwise, false.

適用於