IVsToolbox::AddTabEx Method (String^, VSTBXTABVIEW)
Visual Studio 2015
Adds a new tab to the Toolbox and specifies how the tabs are viewed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- lpszTab
-
Type:
System::String^
[in] The localized name of the tab to add to the Toolbox. The localized name can be obtained from the invariant non-localized name by calling GetIDOfTab.
- tv
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTBXTABVIEW
[in] Determines whether the Toolbox tab is shown in list view or icon view. For a list of tv values, see VSTBXTABVIEW.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsToolbox::AddTabEx( [in]LPCOLESTR lpszTab, [in]VSTBXTABVIEW tv );
Show: