Export (0) Print
Expand All
ID
Top
Expand Minimize

OutputWindowPanes Property

Visual Studio .NET 2003

Returns the OutputWindowPanes collection for the object.

[Visual Basic .NET]
Public ReadOnly Property OutputWindowPanes() As OutputWindowPanes
[Visual Basic 6]
Property Get OutputWindowPanes() As OutputWindowPanes
[C++]
HRESULT __stdcall get_OutputWindowPanes(
   /* [out, retval] */ OutputWindowPanes** retVal
);
[C#]
public OutputWindowPanes OutputWindowPanes {get;}
[JScript .NET]
public function get OutputWindowPanes() : OutputWindowPanes

Return Value

Returns an OutputWindowPanes collection.

Example

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 and to the Task List.
   OWp.OutputTaskItemString("Some task", vsTaskPriority.vsTaskPriorityHigh, vsTaskCategories.vsTaskCategoryMisc, vsTaskIcon.vsTaskIconComment, "C:\temp", 100, "Some description")
   ' You can also use the 'True' flag on the end of OutputTaskItemString 
   ' rather than using the next line (ForceItemsToTaskList).
   OWp.ForceItemsToTaskList()
End Sub

See Also

OutputWindow Object

Applies To: OutputWindow Object

Show:
© 2014 Microsoft