Partilhar via


OutputWindow Interface

Definition

Represents the Output window in the integrated development environment (IDE).

public interface class OutputWindow
public interface class OutputWindow
__interface OutputWindow
[System.Runtime.InteropServices.Guid("EAB0A63D-C3A8-496E-9ACF-A82CEF6A43B3")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface OutputWindow
[System.Runtime.InteropServices.Guid("EAB0A63D-C3A8-496E-9ACF-A82CEF6A43B3")]
public interface OutputWindow
[<System.Runtime.InteropServices.Guid("EAB0A63D-C3A8-496E-9ACF-A82CEF6A43B3")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type OutputWindow = interface
[<System.Runtime.InteropServices.Guid("EAB0A63D-C3A8-496E-9ACF-A82CEF6A43B3")>]
type OutputWindow = interface
Public Interface OutputWindow
Attributes

Examples

Sub OutputWindowExample()  
   ' Create a tool window handle for the Output window.  
   Dim win As Window = DTE.Windows.Item(EnvDTE.Constants.vsWindowKindOutput)  
   ' Create handles to the Output window and its panes.  
   Dim OW As OutputWindow = win.Object  
   Dim OWp As OutputWindowPane  

   ' Add a new pane to the Output window.  
   OWp = OW.OutputWindowPanes.Add("A New Pane")  
   ' Add a line of text to the new pane.  
   OWp.OutputString("Some Text")  
End Sub  

Remarks

The Output window displays text output for various IDE tools. It is possible that each tool might use a different output window pane. Panes are selected with a drop-down box at the top of the window. For example, build errors go to the Build Errors pane, and each external command tool potentially goes to its own distinct output window pane.

Properties

ActivePane

Gets the most recently active pane in the OutputWindow.

DTE

Gets the top-level extensibility object.

OutputWindowPanes

Gets the OutputWindowPanes collection for the OutputWindow object.

Parent

Gets the immediate parent object of an OutputWindow object.

Applies to