Share via


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

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace