IListItemService.InitializeForEvent method
Initializes the specified list item for events raised by the IListItemService interface.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<CorrelationInitializerAttribute> _
Sub InitializeForEvent ( _
id As Guid, _
listId As Guid, _
itemId As Integer _
)
'Usage
Dim instance As IListItemService
Dim id As Guid
Dim listId As Guid
Dim itemId As Integer
instance.InitializeForEvent(id, listId, _
itemId)
[CorrelationInitializerAttribute]
void InitializeForEvent(
Guid id,
Guid listId,
int itemId
)
Parameters
id
Type: System.GuidThe ID to use for events raised on the specified list item.
listId
Type: System.GuidThe ID of the list on which the item is located.
itemId
Type: System.Int32The ID of the item to initialize