Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Tasks Property

SPListItem.Tasks Property

Gets the collection of workflow tasks for the item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Public ReadOnly Property Tasks As SPWorkflowTaskCollection
Dim instance As SPListItem
Dim value As SPWorkflowTaskCollection

value = instance.Tasks

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskCollection
An SPWorkflowTaskCollection object that represents the workflow tasks.
© 2015 Microsoft