OutputWindowPanes Interface

Definition

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

public interface class OutputWindowPanes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface OutputWindowPanes : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface OutputWindowPanes : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type OutputWindowPanes = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")>]
type OutputWindowPanes = interface
    interface IEnumerable
Public Interface OutputWindowPanes
Implements IEnumerable
Attributes
Implements

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  

Properties

Count

Gets a value indicating the number of OutputWindowPane objects in the collection.

DTE

Gets the top-level extensibility object.

Parent

Gets the immediate parent object of a OutputWindowPanes collection.

Methods

Add(String)

Creates a new Output window pane and adds it to the collection.

GetEnumerator()

Returns an enumerator for items in the collection.

Item(Object)

Returns a OutputWindowPane object in a OutputWindowPanes collection.

Applies to