다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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