This documentation is archived and is not being maintained.

ActivityDesigner.IsCommentedActivity Method

Returns a Boolean 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

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: