SPListItem.Workflows Property

Gets the collection of the workflow objects that represent instances of the item workflows that are currently running, but does not get the workflow associations.

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

Syntax

'Declaration
Public ReadOnly Property Workflows As SPWorkflowCollection
    Get
'Usage
Dim instance As SPListItem
Dim value As SPWorkflowCollection

value = instance.Workflows
public SPWorkflowCollection Workflows { get; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowCollection
An SPWorkflowCollection object that represents instances of the item workflows that are currently running.

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace