Partilhar via


Package.GetOutputPane(Guid, String) Method

Definition

Gets the requested output window.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ GetOutputPane(Guid page, System::String ^ caption);
public Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane GetOutputPane (Guid page, string caption);
member this.GetOutputPane : Guid * string -> Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane
Public Function GetOutputPane (page As Guid, caption As String) As IVsOutputWindowPane

Parameters

page
Guid

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

caption
String

The caption to create if the pane does not exist.

Returns

The IVsOutputWindowPane interface. Returns null in case of failure.

Remarks

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

Applies to