Export (0) Print
Expand All

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

'Declaration
Public Overridable Sub ItemDeleting ( _
	properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

instance.ItemDeleting(properties)

Parameters

properties
Type: Microsoft.SharePoint.SPItemEventProperties

The properties of the event handler.

ExceptionCondition
ArgumentNullException

properties is null .

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

Show:
© 2015 Microsoft