ActivityDesigner.IsCommentedActivity(Activity) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> boolPublic Shared Function IsCommentedActivity (activity As Activity) As BooleanParameters
Returns
true if the activity is commented or is inside a commented activity; otherwise, false.