Condividi tramite


SPListEventReceiver.ListDeleting Method

Handles the event that is raised before a list 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 ListDeleting ( _
    properties As SPListEventProperties _
)
'Usage
Dim instance As SPListEventReceiver
Dim properties As SPListEventProperties

instance.ListDeleting(properties)
public virtual void ListDeleting(
    SPListEventProperties properties
)

Parameters

Remarks

This event is registered at the website or site collection where the list is about to be deleted.

See Also

Reference

SPListEventReceiver Class

SPListEventReceiver Members

Microsoft.SharePoint Namespace