다음을 통해 공유


VsCodeWindow 인터페이스

코드 창 조작할을 수 있습니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
<GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")> _
Public Interface VsCodeWindow _
    Inherits IVsCodeWindow
[GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
public interface VsCodeWindow : IVsCodeWindow
[GuidAttribute(L"8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
public interface class VsCodeWindow : IVsCodeWindow
[<GuidAttribute("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")>]
type VsCodeWindow =  
    interface 
        interface IVsCodeWindow 
    end
public interface VsCodeWindow extends IVsCodeWindow

VsCodeWindow 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 Close 코드 창을 닫습니다. (IVsCodeWindow에서 상속됨)
Public 메서드 GetBuffer 코드 창에서 뷰를 모두 사용 하는 버퍼를 반환 합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 GetEditorCaption 편집기에 사용자 지정 텍스트를 추가할 수 있습니다 편집기 캡션을 반환 합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 GetLastActiveView 코드 창의 마지막으로 현재 보기를 반환합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 GetPrimaryView 위쪽 (또는 주) 분할 코드 창의 보기를 반환합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 GetSecondaryView 분할 코드 창의 아래쪽 (또는 보조) 반환 보기. (IVsCodeWindow에서 상속됨)
Public 메서드 GetViewClassID 변경 하거나 쿼리 텍스트 뷰 클래스를 반환 합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 SetBaseEditorCaption 사용자 지정 텍스트 편집기에 캡션 추가 (IVsCodeWindow에서 상속됨)
Public 메서드 SetBuffer 코드 창에서 모든 보기에 대해 텍스트 버퍼를 설정합니다. (IVsCodeWindow에서 상속됨)
Public 메서드 SetViewClassID 변경 하거나 쿼리 텍스트 뷰 클래스를 설정 합니다. (IVsCodeWindow에서 상속됨)

위쪽

참고 항목

참조

Microsoft.VisualStudio.TextManager.Interop 네임스페이스