Share via


VsCodeWindow Interface

Allows manipulation of a code window.

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

Syntax

'Declaration
<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

The VsCodeWindow type exposes the following members.

Methods

  Name Description
Public method Close Closes the code window. (Inherited from IVsCodeWindow.)
Public method GetBuffer Returns the buffer used by all views in the code window. (Inherited from IVsCodeWindow.)
Public method GetEditorCaption Returns the editor caption to which editors can append custom text. (Inherited from IVsCodeWindow.)
Public method GetLastActiveView Returns the last active view of the code window. (Inherited from IVsCodeWindow.)
Public method GetPrimaryView Returns the top (or primary) view of a split code window. (Inherited from IVsCodeWindow.)
Public method GetSecondaryView Returns the bottom (or secondary) view of a split code window. (Inherited from IVsCodeWindow.)
Public method GetViewClassID Returns the text view class to change or query. (Inherited from IVsCodeWindow.)
Public method SetBaseEditorCaption Appends custom text to the editor caption (Inherited from IVsCodeWindow.)
Public method SetBuffer Sets the text buffer for all views in the code window. (Inherited from IVsCodeWindow.)
Public method SetViewClassID Sets the text view class to change or query. (Inherited from IVsCodeWindow.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace