共用方式為


IVsWindowFrameNotify2 Interface

Definition

Notifies clients when a window frame is closed.

public interface class IVsWindowFrameNotify2
public interface class IVsWindowFrameNotify2
__interface IVsWindowFrameNotify2
[System.Runtime.InteropServices.Guid("F4DE74E7-078A-430E-B0E1-8B131BDEF335")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWindowFrameNotify2
[System.Runtime.InteropServices.Guid("F4DE74E7-078A-430E-B0E1-8B131BDEF335")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowFrameNotify2
[<System.Runtime.InteropServices.Guid("F4DE74E7-078A-430E-B0E1-8B131BDEF335")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWindowFrameNotify2 = interface
[<System.Runtime.InteropServices.Guid("F4DE74E7-078A-430E-B0E1-8B131BDEF335")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowFrameNotify2 = interface
Public Interface IVsWindowFrameNotify2
Attributes

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.

Methods

OnClose(UInt32)

Notifies the VSPackage that a window frame is closing and tells the environment what action to take.

Applies to