IVsOutputWindow.DeletePane Method
Deletes an output window pane.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function DeletePane ( _
ByRef rguidPane As Guid _
) As Integer
'使用
Dim instance As IVsOutputWindow
Dim rguidPane As Guid
Dim returnValue As Integer
returnValue = instance.DeletePane(rguidPane)
int DeletePane(
ref Guid rguidPane
)
int DeletePane(
[InAttribute] Guid% rguidPane
)
function DeletePane(
rguidPane : Guid
) : int
Parameters
rguidPane
Type: System.Guid%[in] GUID of the window pane to delete.
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::DeletePane(
[in] REFGUID rguidPane
);
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.