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
workflows
Type: Microsoft.SharePoint.Workflow.SPWorkflowCollectionA collection of workflows. All tasks in this collection will be created based on the workflows in this collection.
filter
Type: Microsoft.SharePoint.Workflow.SPWorkflowFilterA filter that is used to specify criteria for workflows or tasks in this collection.
Remarks
This method is called by the constructors of the class and is used to initialize the workflow tasks.
See Also
Reference
SPWorkflowTaskCollection Class