ModelingWindowPane.OnClose Method
Removes window pane objects from the shortcut menu selection when the window pane is closed.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overrides Sub OnClose
protected override void OnClose()
protected:
virtual void OnClose() override
abstract OnClose : unit -> unit
override OnClose : unit -> unit
protected override function OnClose()
Remarks
This method removes elements from the selection context to make sure that the property browser does not call them after the window pane is closed.
.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.