WindowPane.OnClose Method
Raised when the window is closed.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnClose
protected virtual void OnClose()
protected:
virtual void OnClose()
abstract OnClose : unit -> unit
override OnClose : unit -> unit
protected function OnClose()
Remarks
This method is called in response to the ClosePane method. The default implementation calls Dispose.
.NET Framework Security
- 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.