Share via


ActivityToolboxDisplayAttribute constructor

Initializes a new instance of the ActivityToolboxDisplayAttribute class.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Sub New ( _
    toolboxTabNameKey As String, _
    display As Boolean _
)
'Usage
Dim toolboxTabNameKey As String
Dim display As Boolean

Dim instance As New ActivityToolboxDisplayAttribute(toolboxTabNameKey, _
    display)
public ActivityToolboxDisplayAttribute(
    string toolboxTabNameKey,
    bool display
)

Parameters

  • toolboxTabNameKey
    Type: System.String

    A string that is used to designate the tab name in Visual Studio toolbox where the activity appears.

  • display
    Type: System.Boolean

    A Boolean value that designates whether the activity should be displayed.

Remarks

Apply the ActivityToolboxDisplayAttribute to a workflow activity to indicate that the activity should be visible in the Visual Studio workflow design toolbox.

The ActivityToolboxDisplay attribute can only be applied at the class level, not to the methods or properties within the class.

See also

Reference

ActivityToolboxDisplayAttribute class

ActivityToolboxDisplayAttribute members

Microsoft.SharePoint.WorkflowActions namespace