This documentation is archived and is not being maintained.

IVsToolbox.SelectTab Method

Programmatically selects the referenced Toolbox tab.

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

int SelectTab (
	[InAttribute] string lpszTab
int SelectTab (
	/** @attribute InAttribute() */ String lpszTab
function SelectTab (
	lpszTab : String
) : int



[in] Toolbox tab to select.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsToolbox::SelectTab(
   [in]LPCOLESTR lpszTab