Share via


SPUserCodeWorkflowContext.ItemId property

Gets or sets the identifier of the list item on which the workflow instance is running.

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

Syntax

'Declaration
Public Property ItemId As Integer
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Integer

value = instance.ItemId

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

Property value

Type: System.Int32
The identifier of the list item on which the workflow instance is running.

See also

Reference

SPUserCodeWorkflowContext class

SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace