共用方式為


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
)
abstract DeletePane : 
        rguidPane:Guid byref -> int 
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
);

.NET Framework Security

See Also

Reference

IVsOutputWindow Interface

IVsOutputWindow Members

Microsoft.VisualStudio.Shell.Interop Namespace