共用方式為


Objects

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The following reference information explains objects that are used to create an instance of the core text editor.

In this section

  • VSCodeWindow Object Describes the code window object, a specialized document window that can enclose one or more text views.

  • VSCodeWindowManager object Describes the code window manager object that is implemented by the language service and is responsible for managing adornments.

  • VSTextBuffer object Describes the text buffer object, which represents a stream of Unicode text, the data for a file.

  • VSTextView object Describes the text view, a window that lets users view and edit Unicode text of the text buffer.