Share via


OutputWindowPanes Interface

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

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

Syntax

'Declaration
<GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")> _
Public Interface OutputWindowPanes _
    Inherits IEnumerable
'Usage
Dim instance As OutputWindowPanes
[GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface OutputWindowPanes : IEnumerable
[GuidAttribute(L"B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface class OutputWindowPanes : IEnumerable
public interface OutputWindowPanes extends IEnumerable

Examples

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

See Also

Reference

OutputWindowPanes Members

EnvDTE Namespace