Removes modeling window objects from the shortcut menu selection when the modeling window is closed.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overrides Sub OnClose
'使用
Me.OnClose()
protected override void OnClose()
protected:
virtual void OnClose() override
protected override function OnClose()
Remarks
This method guarantees that the Property tab does not call objects that are assigned to the modeling window after the designer closes.
Permissions
- 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.