Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
Public Overridable Sub ItemDeleting ( _
properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemDeleting(properties)
public virtual void ItemDeleting(
SPItemEventProperties properties
)
Parameters
properties
Type: Microsoft.SharePoint.SPItemEventPropertiesThe properties of the event handler.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | properties is null . |
Remarks
This event occurs if an item is deleted but ends up in the Recycle Bin.