VsCodeWindowClass VsCodeWindowClass VsCodeWindowClass Class

Definition

Allows manipulation of a code window.

[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
type VsCodeWindowClass = class
    interface IVsCodeWindow
    interface VsCodeWindow
Public Class VsCodeWindowClass
Implements VsCodeWindow
Inheritance
VsCodeWindowClassVsCodeWindowClassVsCodeWindowClass
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() VsCodeWindowClass() VsCodeWindowClass()

Creates a new instance of the code window class.

Methods

Close() Close() Close()

Closes the code window.

GetBuffer(IVsTextLines) GetBuffer(IVsTextLines) GetBuffer(IVsTextLines)

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

GetEditorCaption(READONLYSTATUS, String) GetEditorCaption(READONLYSTATUS, String) GetEditorCaption(READONLYSTATUS, String)

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

GetLastActiveView(IVsTextView) GetLastActiveView(IVsTextView) GetLastActiveView(IVsTextView)

Returns the last active view of the code window.

GetPrimaryView(IVsTextView) GetPrimaryView(IVsTextView) GetPrimaryView(IVsTextView)

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

GetSecondaryView(IVsTextView) GetSecondaryView(IVsTextView) GetSecondaryView(IVsTextView)

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

GetViewClassID(Guid) GetViewClassID(Guid) GetViewClassID(Guid)

Returns the text view class to change or query.

SetBaseEditorCaption(String[]) SetBaseEditorCaption(String[]) SetBaseEditorCaption(String[])

Appends custom text to the editor caption.

SetBuffer(IVsTextLines) SetBuffer(IVsTextLines) SetBuffer(IVsTextLines)

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

SetViewClassID(Guid) SetViewClassID(Guid) SetViewClassID(Guid)

Sets the text view class to change or query.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to