Κοινή χρήση μέσω


VSCodeWindow object

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

A code window is a specialized document window that can include one or more text views, usually the VsTextView object.

Architecturally, the code window is a document window that's within a window frame. Functionally, the code window is simply a document window with additional features. In the multiple-document interface (MDI) mode, the code window is the MDI child frame. For more information, see Customizing code windows by using the legacy API.

The following table includes the interfaces in the VsCodeWindow object.

Method Description
IServiceProvider Provides a generic access mechanism to locate a service that a globally unique identifier (GUID) identifies.
IVsCodeWindow Represents a multiple document interface (MDI) child containing one or more code views.
IVsWindowPane Fills a window frame.

See also