Edit

Bagikan melalui


ActivityDesigner.IsCommentedActivity(Activity) Method

Definition

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
Public Shared Function IsCommentedActivity (activity As Activity) As Boolean

Parameters

activity
Activity

The Activity in the current activity designer.

Returns

true if the activity is commented or is inside a commented activity; otherwise, false.

Applies to