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)
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.