IVsCodeWindowEvents 인터페이스
있는 VSPackage 포함 하는 보기에 연결 된 특정 이벤트를 수신 대기 하도록 허용 된 IVsCodeWindow 개체입니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")> _
Public Interface IVsCodeWindowEvents
[InterfaceTypeAttribute()]
[GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")]
public interface IVsCodeWindowEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"26ACC7FD-C665-426B-B120-E96762C5DD1A")]
public interface class IVsCodeWindowEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")>]
type IVsCodeWindowEvents = interface end
public interface IVsCodeWindowEvents
IVsCodeWindowEvents 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
OnCloseView | 보기를 닫을 때 호출 됩니다. | |
OnNewView | 바로 보기를 만들 때 호출 됩니다. |
위쪽
설명
이 인터페이스를 사용 하 여 코드 창 관리자가 정상적으로 처리할 특정 보기 방향 이벤트 (특히, 새로운 보기 및 보기 닫기)를 얻을 수 있습니다.
구현자 참고 사항
이 인터페이스를 구현 하는 클래스에는 IVsCodeWindow 인터페이스 새 보기를 수신 하 고 이벤트 코드 창에서 보기를 닫습니다. 코드 창 관리자를 구현 하는 경우이 인터페이스를 구현 하지 않아도 IVsCodeWindowManager 인터페이스입니다.
호출자 참고 사항
이 인터페이스를 호출 하 여 얻을 수 있습니다의 QueryInterface 메서드에서 IVsCodeWindow 인터페이스입니다. 참고는 IVsCodeWindowEvents 인터페이스는 선택적 요소 이며 특정에 있지 않을 수 있습니다 IVsCodeWindow 개체입니다.