Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Automation and Extensibility Reference
OutputWindowPane Interface

Represents a pane in the Output window.

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

Visual Basic (Declaration)
<GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")> _
Public Interface OutputWindowPane
Visual Basic (Usage)
Dim instance As OutputWindowPane
C#
[GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")] 
public interface OutputWindowPane
C++
[GuidAttribute(L"FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")] 
public interface class OutputWindowPane
J#
/** @attribute GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16") */ 
public interface OutputWindowPane
JScript
GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16") 
public interface OutputWindowPane

The Output window displays text output. The Output window can have one or more panes, represented by the OutputWindowPane object. Each IDE tool potentially uses 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, while each external command tool potentially goes to its own distinct output window pane.

Visual Basic
Sub OutputWindowPaneExample()
   ' 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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker