다음을 통해 공유


VsCodeWindowClass Class

Definition

Allows manipulation of a code window.

public ref class VsCodeWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsCodeWindow
[Windows::Foundation::Metadata::WebHostHidden]
class VsCodeWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsCodeWindow
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("F5E7E719-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsCodeWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsCodeWindow
[System.Runtime.InteropServices.Guid("F5E7E719-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsCodeWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsCodeWindow
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("F5E7E719-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsCodeWindowClass = class
    interface IVsCodeWindow
    interface VsCodeWindow
[<System.Runtime.InteropServices.Guid("F5E7E719-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsCodeWindowClass = class
    interface VsCodeWindow
    interface IVsCodeWindow
Public Class VsCodeWindowClass
Implements VsCodeWindow
Inheritance
VsCodeWindowClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsCodeWindowClass()

Creates a new instance of the code window class.

Methods

Close()

Closes the code window.

GetBuffer(IVsTextLines)

Returns the buffer used by all views in the code window.

GetEditorCaption(READONLYSTATUS, String)

Returns the editor caption to which editors can append custom text.

GetLastActiveView(IVsTextView)

Returns the last active view of the code window.

GetPrimaryView(IVsTextView)

Returns the top (or primary) view of a split code window.

GetSecondaryView(IVsTextView)

Returns the bottom (or secondary) view of a split code window.

GetViewClassID(Guid)

Returns the text view class to change or query.

SetBaseEditorCaption(String[])

Appends custom text to the editor caption.

SetBuffer(IVsTextLines)

Sets the text buffer for all views in the code window.

SetViewClassID(Guid)

Sets the text view class to change or query.

Applies to