Udostępnij za pośrednictwem


IVsToolbox.RemoveTab(String) Method

Definition

Removes a tab from the Toolbox.

public:
 int RemoveTab(System::String ^ lpszTab);
public:
 int RemoveTab(Platform::String ^ lpszTab);
int RemoveTab(std::wstring const & lpszTab);
public int RemoveTab (string lpszTab);
abstract member RemoveTab : string -> int
Public Function RemoveTab (lpszTab As String) As Integer

Parameters

lpszTab
String

[in] Name of the tab to remove from the Toolbox.

Returns

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  
);  

Applies to