Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ItemAttachmentDeleted Method

SPItemEventReceiver.ItemAttachmentDeleted Method

Windows SharePoint Services 3

Asynchronous After event that occurs when after a user removes an attachment from an item.

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

public virtual void ItemAttachmentDeleted(
	SPItemEventProperties properties

The ItemAttachmentDeleted event occurs when an attachment is added to a list item but no other updates occur. The 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 post events on documents, but Before properties are not available for post events on list items.

Community Additions

© 2015 Microsoft