SPListItem.Tasks property
Gets the collection of workflow tasks for the item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Tasks As SPWorkflowTaskCollection
Get
'Usage
Dim instance As SPListItem
Dim value As SPWorkflowTaskCollection
value = instance.Tasks
public SPWorkflowTaskCollection Tasks { get; }
Property value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskCollection
An SPWorkflowTaskCollection object that represents the workflow tasks.