SPWorkflowActivationProperties.ItemId property

Gets the ID of the list item on which the workflow instance is running.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public ReadOnly Property ItemId As Integer
Dim instance As SPWorkflowActivationProperties
Dim value As Integer

value = instance.ItemId

Property value

Type: System.Int32
A Guid that represents the ID of the list item.