Share via


WebPartPage.Dispose Method

Releases all resources used by the WebPartPage base class.

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

Syntax

'Declaration
Public Overrides Sub Dispose
'Usage
Dim instance As WebPartPage

instance.Dispose()
public override void Dispose()

Implements

IDisposable.Dispose()

Remarks

Any custom WebPartPage class derived from the WebPartPage base class should override this Dispose method to do any additional cleanup required by the derived class.

See Also

Reference

WebPartPage Class

WebPartPage Members

Microsoft.SharePoint.WebPartPages Namespace