다음을 통해 공유


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

'Declaration
Function GetPane ( _
    ByRef rguidPane As Guid, _
    <OutAttribute> ByRef ppPane As IVsOutputWindowPane _
) As Integer
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: Guid%

    [in] Identifies the Output window pane.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace