Share via


IListItemService.OnItemDeleted event

Raised when the item is deleted.

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

Syntax

'Declaration
<CorrelationAliasAttribute("itemId", "e.itemId")> _
<CorrelationAliasAttribute("id", "e.id")> _
<CorrelationAliasAttribute("listId", "e.listId")> _
Event OnItemDeleted As EventHandler(Of SPListItemServiceEventArgs)
'Usage
Dim instance As IListItemService
Dim handler As EventHandler(Of SPListItemServiceEventArgs)

AddHandler instance.OnItemDeleted, handler
[CorrelationAliasAttribute("itemId", "e.itemId")]
[CorrelationAliasAttribute("id", "e.id")]
[CorrelationAliasAttribute("listId", "e.listId")]
event EventHandler<SPListItemServiceEventArgs> OnItemDeleted

Remarks

When the IListItemService raises an event, the event parameters are contained in an SPListItemServiceEventArgs object.

See also

Reference

IListItemService interface

IListItemService members

Microsoft.SharePoint.Workflow namespace