SPWorkflowCollection constructor (SPList)

Initializes a new instance of the SPWorkflowCollection class for all of the workflows running on SPListItem objects in this SPList object.

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

Syntax

'Declaration
Public Sub New ( _
    list As SPList _
)
'Usage
Dim list As SPList

Dim instance As New SPWorkflowCollection(list)
public SPWorkflowCollection(
    SPList list
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The list parameter is null .

See also

Reference

SPWorkflowCollection class

SPWorkflowCollection members

SPWorkflowCollection overload

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview