Share via


SPWorkflowTaskCollection constructor (SPWorkflowCollection, SPWorkflowFilter)

Initializes a new instance of the SPWorkflowTaskCollection class, based upon which tasks in this collection will be created by one of the workflows in the provided collection and what criteria for workflows or tasks in this collection is specified.

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

Syntax

'Declaration
Public Sub New ( _
    workflows As SPWorkflowCollection, _
    filter As SPWorkflowFilter _
)
'Usage
Dim workflows As SPWorkflowCollection
Dim filter As SPWorkflowFilter

Dim instance As New SPWorkflowTaskCollection(workflows, _
    filter)
public SPWorkflowTaskCollection(
    SPWorkflowCollection workflows,
    SPWorkflowFilter filter
)

Parameters

Remarks

Returns a collection of SPWorkflowTask objects.

See also

Reference

SPWorkflowTaskCollection class

SPWorkflowTaskCollection members

SPWorkflowTaskCollection overload

Microsoft.SharePoint.Workflow namespace