다음을 통해 공유


SPWorkflowTaskCollection Constructor (SPListItem, SPWorkflowFilter)

Initializes a new instance of the SPWorkflowTaskCollection class that contains tasks created by workflows running on a list item and a filter criteria, based on workflows or a list item and a filter criteria.

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 ( _
    item As SPListItem, _
    filter As SPWorkflowFilter _
)
'Usage
Dim item As SPListItem
Dim filter As SPWorkflowFilter

Dim instance As New SPWorkflowTaskCollection(item, filter)
public SPWorkflowTaskCollection(
    SPListItem item,
    SPWorkflowFilter filter
)

Parameters

Remarks

Returns a collection of SPWorkflowTask objects.

See Also

Reference

SPWorkflowTaskCollection Class

SPWorkflowTaskCollection Members

SPWorkflowTaskCollection Overload

Microsoft.SharePoint.Workflow Namespace