Partilhar 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)
Available in Sandboxed Solutions: No

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