Share via


SPWorkflowTaskCollection.Init method

Initializes the workflow tasks based on the SPWorkflowCollection and SPWorkflowFilter.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)> _
Protected Sub Init ( _
    workflows As SPWorkflowCollection, _
    filter As SPWorkflowFilter _
)
'Usage
Dim workflows As SPWorkflowCollection
Dim filter As SPWorkflowFilter

Me.Init(workflows, filter)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
protected void Init(
    SPWorkflowCollection workflows,
    SPWorkflowFilter filter
)

Parameters

Remarks

This method is called by the constructors of the class and is used to initialize the workflow tasks.

See also

Reference

SPWorkflowTaskCollection class

SPWorkflowTaskCollection members

Microsoft.SharePoint.Workflow namespace