다음을 통해 공유


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

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 SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation