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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ItemId As Integer
    Get
'Usage
Dim instance As SPWorkflowActivationProperties
Dim value As Integer

value = instance.ItemId
public int ItemId { get; }

Property Value

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

See Also

Reference

SPWorkflowActivationProperties Class

SPWorkflowActivationProperties Members

Microsoft.SharePoint.Workflow Namespace