This documentation is archived and is not being maintained.

SPItemEventReceiver.ItemAttachmentAdding Method

Windows SharePoint Services 3

Synchronous Before event that occurs when a user adds an attachment to an item.

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

public virtual void ItemAttachmentAdding(
	SPItemEventProperties properties
)

The ItemAttachmentAdding event occurs when an attachment is added to a list item but no other updates occur. The event occurs before the ItemUpdating() event if other changes are made to the item.

Show: