SPWorkflow.Tasks Property
Gets the collection of workflow tasks for this workflow instance.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Tasks As SPWorkflowTaskCollection
Get
'Usage
Dim instance As SPWorkflow
Dim value As SPWorkflowTaskCollection
value = instance.Tasks
public SPWorkflowTaskCollection Tasks { get; }
Property Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskCollection
A SPWorkflowTaskCollection object that represents the workflow task collection.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation