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

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