Share via


SPWebPartManager.OnWebPartClosed Method

Handles the WebPartClosed 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 OnWebPartClosed ( _
    e As WebPartEventArgs _
)
'Usage
Dim e As WebPartEventArgs

Me.OnWebPartClosed(e)
protected override void OnWebPartClosed(
    WebPartEventArgs e
)

Parameters

Remarks

The override is called after a WebPart control has been removed from the page the page.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace