This documentation is archived and is not being maintained.

Package.GetOutputPane Method

Gets the requested output window.

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in

public IVsOutputWindowPane GetOutputPane (
	Guid page,
	string caption
public IVsOutputWindowPane GetOutputPane (
	Guid page, 
	String caption
public function GetOutputPane (
	page : Guid, 
	caption : String
) : IVsOutputWindowPane



The GUID corresponding to the pane. (See VSConstants class for the GUIDs which correspond to output panes.)


The caption to create if the pane does not exist.

Return Value

The IVsOutputWindowPane interface. Returns a null reference (Nothing in Visual Basic) in case of failure.

The GetOutputPane method returns the requested output window pane. This method creates the pane if one does not exist.