Share via


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.Guid

    The ID to use for events raised on the specified list item.

  • listId
    Type: System.Guid

    The ID of the list on which the item is located.

  • itemId
    Type: System.Int32

    The ID of the item to initialize

See also

Reference

IListItemService interface

IListItemService members

Microsoft.SharePoint.Workflow namespace