次の方法で共有


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

'宣言
Function GetPane ( _
    ByRef rguidPane As Guid, _
    <OutAttribute> ByRef ppPane As IVsOutputWindowPane _
) As Integer
'使用
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
)
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.

Permissions

See Also

Reference

IVsOutputWindow Interface

IVsOutputWindow Members

Microsoft.VisualStudio.Shell.Interop Namespace