Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a tab from the Toolbox.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function RemoveTab ( _
    lpszTab As String _
) As Integer
int RemoveTab(
    string lpszTab
)
int RemoveTab(
    [InAttribute] String^ lpszTab
)
abstract RemoveTab : 
        lpszTab:string -> int
function RemoveTab(
    lpszTab : String
) : int
Parameters
- lpszTab 
 Type: String- [in] Name of the tab to remove from the Toolbox. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox::RemoveTab(
   [in]LPCOLESTR lpszTab
);
.NET Framework Security
- 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.