SPWorkflow.ParentItem Property
Gets the list item on which this workflow instance was created.
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 ParentItem As SPListItem
Get
'Usage
Dim instance As SPWorkflow
Dim value As SPListItem
value = instance.ParentItem
public SPListItem ParentItem { get; }
Property Value
Type: Microsoft.SharePoint.SPListItem
An SPListItem object that represents the list item.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation