共用方式為


VsCodeWindow Members

Include Protected Members
Include Inherited Members

Allows manipulation of a code window.

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

VsCodeWindow Interface

Microsoft.VisualStudio.TextManager.Interop Namespace