IVsToolbox.SelectTab(String) Method

Definition

Programmatically selects the referenced Toolbox tab.

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

Parameters

lpszTab
String

[in] Toolbox tab to select.

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::SelectTab(  
   [in]LPCOLESTR lpszTab  
);  

Applies to