共用方式為


VsCodeWindow Interface

Definition

Allows manipulation of a code window.

public interface class VsCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
public interface class VsCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
__interface VsCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsCodeWindowClass))]
[System.Runtime.InteropServices.Guid("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
public interface VsCodeWindow : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsCodeWindowClass))]
[System.Runtime.InteropServices.Guid("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsCodeWindow : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsCodeWindowClass))>]
[<System.Runtime.InteropServices.Guid("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")>]
type VsCodeWindow = interface
    interface IVsCodeWindow
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsCodeWindowClass))>]
[<System.Runtime.InteropServices.Guid("8560CECD-DFAC-4F7B-9D2A-E6D9810F3443")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsCodeWindow = interface
    interface IVsCodeWindow
Public Interface VsCodeWindow
Implements IVsCodeWindow
Derived
Attributes
Implements

Methods

Close()

Closes the code window.

(Inherited from IVsCodeWindow)
GetBuffer(IVsTextLines)

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

(Inherited from IVsCodeWindow)
GetEditorCaption(READONLYSTATUS, String)

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

(Inherited from IVsCodeWindow)
GetLastActiveView(IVsTextView)

Returns the last active view of the code window.

(Inherited from IVsCodeWindow)
GetPrimaryView(IVsTextView)

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

(Inherited from IVsCodeWindow)
GetSecondaryView(IVsTextView)

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

(Inherited from IVsCodeWindow)
GetViewClassID(Guid)

Returns the text view class to change or query.

(Inherited from IVsCodeWindow)
SetBaseEditorCaption(String[])

Appends custom text to the editor caption

(Inherited from IVsCodeWindow)
SetBuffer(IVsTextLines)

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

(Inherited from IVsCodeWindow)
SetViewClassID(Guid)

Sets the text view class to change or query.

(Inherited from IVsCodeWindow)

Applies to