Condividi tramite


IVsOutputWindow.GetPane(Guid, IVsOutputWindowPane) Method

Definition

Returns an Output window pane, given its identifying GUID.

public:
 int GetPane(Guid % rguidPane, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ % ppPane);
public int GetPane (ref Guid rguidPane, out Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane ppPane);
abstract member GetPane : Guid * IVsOutputWindowPane -> int
Public Function GetPane (ByRef rguidPane As Guid, ByRef ppPane As IVsOutputWindowPane) As Integer

Parameters

rguidPane
Guid

[in] Identifies the Output window pane.

ppPane
IVsOutputWindowPane

[out] Pointer to the IVsOutputWindowPane of the requested Output window pane. Returns null if the requested pane does not exist.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutputWindow::GetPane(  
   [in] REFGUID rguidPane,  
   [out] IVsOutputWindowPane **ppPane  
);  

The IVsOutputWindowPane interface allows a VSPackage to manipulate a particular output window pane.

Applies to