Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPItemEventReceiver.ItemAttachmentDeleted method

Handles the asynchronous event that occurs after an attachment is removed from an item.

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

public virtual void ItemAttachmentDeleted(
	SPItemEventProperties properties


Type: Microsoft.SharePoint.SPItemEventProperties

The properties of the event handler.


properties is null .

This event occurs when an attachment is removed from a list item, but no other updates occur. This event occurs after the ItemUpdated event if other changes are made to the item.

This event does not occur if the item itself is removed.

Before and After properties are guaranteed for postback events on documents, but Before properties are not available for postback events on list items.

© 2015 Microsoft