SPItemEventReceiver.ItemAttachmentDeleting Method (Microsoft.SharePoint)
Synchronous Before event that occurs when a user removes an attachment from an item.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Overridable Sub ItemAttachmentDeleting ( _
    properties As SPItemEventProperties _
)
Visual Basic (Usage)
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

instance.ItemAttachmentDeleting(properties)
C#
public virtual void ItemAttachmentDeleting (
    SPItemEventProperties properties
)

Parameters

properties
Remarks

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

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

See Also

Tags :


Page view tracker