ModelingWindowPane.OnClose Method

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

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace