This topic has not yet been rated - Rate this topic

SPItemEventReceiver.ItemDeleting Method

Handles the synchronous event that occurs before an item is deleted.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public virtual void ItemDeleting(
	SPItemEventProperties properties
)

Parameters

properties
Type: Microsoft.SharePoint.SPItemEventProperties
The properties of the event handler.
Exception Condition
ArgumentNullException

properties is null.

This event occurs if an item is deleted but ends up in the Recycle Bin.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ