SPWebPartManager.OnWebPartDeleted Method

Handles the WebPartDeleted event.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
Protected Overrides Sub OnWebPartDeleted ( _
    eventArgs As WebPartEventArgs _
)
'Usage
Dim eventArgs As WebPartEventArgs

Me.OnWebPartDeleted(eventArgs)
protected override void OnWebPartDeleted(
    WebPartEventArgs eventArgs
)

Parameters

Remarks

The override is called after a WebPart control has been permanently deleted from a page.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace