IListItemService.OnItemAttachmentAdded event
Raised when an attachment is added to the item.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<CorrelationAliasAttribute("id", "e.id")> _
<CorrelationAliasAttribute("listId", "e.listId")> _
<CorrelationAliasAttribute("itemId", "e.itemId")> _
Event OnItemAttachmentAdded As EventHandler(Of SPListItemServiceEventArgs)
'Usage
Dim instance As IListItemService
Dim handler As EventHandler(Of SPListItemServiceEventArgs)
AddHandler instance.OnItemAttachmentAdded, handler
[CorrelationAliasAttribute("id", "e.id")]
[CorrelationAliasAttribute("listId", "e.listId")]
[CorrelationAliasAttribute("itemId", "e.itemId")]
event EventHandler<SPListItemServiceEventArgs> OnItemAttachmentAdded
Remarks
When the IListItemService raises an event, the event parameters are contained in an SPListItemServiceEventArgs object.