Partager via


IVsToolbox2.RemoveTab Method (String)

Removes a tab from the Toolbox.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function RemoveTab ( _
    lpszTab As String _
) As Integer
'Utilisation
Dim instance As IVsToolbox2
Dim lpszTab As String
Dim returnValue As Integer

returnValue = instance.RemoveTab(lpszTab)
int RemoveTab(
    string lpszTab
)
int RemoveTab(
    [InAttribute] String^ lpszTab
)
abstract RemoveTab : 
        lpszTab:string -> int 
function RemoveTab(
    lpszTab : String
) : int

Parameters

  • lpszTab
    Type: System.String
    [in] Name of the tab to remove from the Toolbox.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolbox.RemoveTab(String)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::RemoveTab(
   [in]LPCOLESTR lpszTab
);

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

IVsToolbox2 Members

RemoveTab Overload

Microsoft.VisualStudio.Shell.Interop Namespace