SPWorkflowCollection constructor (SPListItem)

Initializes a new instance of the SPWorkflowCollection class for all of the workflows on the SPListItem object.

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

Syntax

'Declaration
Public Sub New ( _
    item As SPListItem _
)
'Usage
Dim item As SPListItem

Dim instance As New SPWorkflowCollection(item)
public SPWorkflowCollection(
    SPListItem item
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The item 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