Freigeben über


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

'Declaration
Protected Overridable Sub OnClose
'Usage

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

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace