Share via


IVsToolbox2.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.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::SelectTab(  
   [in]LPCOLESTR lpszTab  
);  

Applies to