Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Raised when an attachment is added to the item.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<CorrelationAliasAttribute("itemId", "e.itemId")> _
<CorrelationAliasAttribute("listId", "e.listId")> _
<CorrelationAliasAttribute("id", "e.id")> _
Event OnItemAttachmentAdded As EventHandler(Of SPListItemServiceEventArgs)
'Usage
Dim instance As IListItemService
Dim handler As EventHandler(Of SPListItemServiceEventArgs)
AddHandler instance.OnItemAttachmentAdded, handler
[CorrelationAliasAttribute("itemId", "e.itemId")]
[CorrelationAliasAttribute("listId", "e.listId")]
[CorrelationAliasAttribute("id", "e.id")]
event EventHandler<SPListItemServiceEventArgs> OnItemAttachmentAdded
Remarks
When the IListItemService raises an event, the event parameters are contained in an SPListItemServiceEventArgs object.