Share via


SPWorkItem.ItemId Property

Gets the item ID of a list item when a work item must be correlated with a specific list item. This is an optional property, used for working with list items.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

Type: System.Int32
Returns the item ID for a list item associated with a work item object.

Remarks

Compare ItemGuid.

See Also

Reference

SPWorkItem Class

SPWorkItem Members

Microsoft.SharePoint Namespace