共用方式為


SPWebPartManager.Dispose method

可讓SPWebPartManager若要從記憶體釋放之前執行最後的清除。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides Sub Dispose
'用途
Dim instance As SPWebPartManager

instance.Dispose()
public override void Dispose()

Implements

IDisposable.Dispose()

備註

這個覆寫執行SPWebPartManager的最後的清除作業。

請參閱

參照

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace