OfficeTask.ItemId property

Returns the ID of the of list item that represents the workflow task that the task process is executing against.

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property ItemId As SPItemKey
    Get
    Set
'Usage
Dim instance As OfficeTask
Dim value As SPItemKey

value = instance.ItemId

instance.ItemId = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPItemKey ItemId { get; set; }

Property value

Type: Microsoft.SharePoint.Workflow.SPItemKey
The ID of the list item.

Remarks

This property is used for a variety of other activities and is used in the link generated for the Related Content field of the task list items that are created.

See also

Reference

OfficeTask class

OfficeTask members

Microsoft.Office.Workflow.Actions namespace