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
'Dichiarazione
Function GetPane ( _
ByRef rguidPane As Guid, _
<OutAttribute> ByRef ppPane As IVsOutputWindowPane _
) As Integer
'Utilizzo
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.
ppPane
Type: Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane%[out] Pointer to the IVsOutputWindowPane of the requested Output window pane. Returns nulla null reference (Nothing in Visual Basic) if the requested pane does not exist.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.