Partager via


IVsOutputWindow.GetPane Method

Returns an Output window pane, given its identifying GUID.

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

Syntax

'Déclaration
Function GetPane ( _
    ByRef rguidPane As Guid, _
    <OutAttribute> ByRef ppPane As IVsOutputWindowPane _
) As Integer
'Utilisation
Dim instance As IVsOutputWindow
Dim rguidPane As Guid
Dim ppPane As IVsOutputWindowPane
Dim returnValue As Integer

returnValue = instance.GetPane(rguidPane, _
    ppPane)
int GetPane(
    ref Guid rguidPane,
    out IVsOutputWindowPane ppPane
)
int GetPane(
    [InAttribute] Guid% rguidPane, 
    [OutAttribute] IVsOutputWindowPane^% ppPane
)
abstract GetPane : 
        rguidPane:Guid byref * 
        ppPane:IVsOutputWindowPane byref -> int 
function GetPane(
    rguidPane : Guid, 
    ppPane : IVsOutputWindowPane
) : int

Parameters

  • rguidPane
    Type: System.Guid%
    [in] Identifies the Output window pane.

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsOutputWindow Interface

IVsOutputWindow Members

Microsoft.VisualStudio.Shell.Interop Namespace