Package.GetOutputPane Method (Guid, String)

 

Gets the requested output window.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public IVsOutputWindowPane GetOutputPane(
	Guid page,
	string caption
)

Parameters

page
Type: System.Guid

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

caption
Type: System.String

The caption to create if the pane does not exist.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane

The IVsOutputWindowPane interface. Returns null in case of failure.

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

Return to top
Show: