SPWorkflow.ItemId property

Gets the list ID of the item on which this workflow instance was created.

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


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

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

Property value

Type: System.Int32
An Integer that represents the list ID of the item.

See also


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