ActivityDesigner.IsCommentedActivity Method (Activity)

 

Returns a value that indicates whether the current designer's activity is commented or is inside a commented activity.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public static bool IsCommentedActivity(
	Activity activity
)

Parameters

activity
Type: System.Workflow.ComponentModel.Activity

The Activity in the current activity designer.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: