Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

OutputWindowPanes Interface

Contains all Output window panes in the integrated development environment (IDE).

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

[GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")] 
public interface OutputWindowPanes : IEnumerable
/** @attribute GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB") */ 
public interface OutputWindowPanes extends IEnumerable
GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB") 
public interface OutputWindowPanes extends IEnumerable

Sub OutputWindowPanesExample()
   ' 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

Community Additions

ADD
Show:
© 2015 Microsoft