WindowPane.OnClose Method
Raised when the window is closed.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Protected Overridable Sub OnClose
'使用
Me.OnClose()
protected virtual void OnClose()
protected:
virtual void OnClose()
protected function OnClose()
Remarks
This method is called in response to the ClosePane method. The default implementation just calls Dispose.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.