Share via


IListItemService.OnItemAttachmentDeleted Event

Raised when an attachment is deleted from the item.

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

Syntax

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

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

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