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)

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

SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview