Bagikan melalui


IVsWindowFrameNotify2 Interface

Notifies clients when a window frame is closed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("F4DE74E7-078A-430E-B0E1-8B131BDEF335")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWindowFrameNotify2
[GuidAttribute("F4DE74E7-078A-430E-B0E1-8B131BDEF335")]
[InterfaceTypeAttribute()]
public interface IVsWindowFrameNotify2
[GuidAttribute(L"F4DE74E7-078A-430E-B0E1-8B131BDEF335")]
[InterfaceTypeAttribute()]
public interface class IVsWindowFrameNotify2
[<GuidAttribute("F4DE74E7-078A-430E-B0E1-8B131BDEF335")>]
[<InterfaceTypeAttribute()>]
type IVsWindowFrameNotify2 =  interface end
public interface IVsWindowFrameNotify2

The IVsWindowFrameNotify2 type exposes the following members.

Methods

  Name Description
Public method OnClose Notifies the VSPackage that a window frame is closing and tells the environment what action to take.

Top

Remarks

This interface is to support the rare instance where a window frame hosts multiple doc windows, and needs to be notified when the host window frame is being closed.

Notes to Implementers

Implemented by a VSPackage that supports multiple document windows in a single window frame.

Notes to Callers

Called by the environment when a window frame is closed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace