WindowPane.OnClose Method
Raised when the window is closed.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Protected Overridable Sub OnClose
'使用
Me.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 just 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.