Share via


IVsToolbox.GetTab(String) Method

Definition

Returns the name of the selected tab.

public:
 int GetTab([Runtime::InteropServices::Out] System::String ^ % pbstrTab);
int GetTab([Runtime::InteropServices::Out] std::wstring const & & pbstrTab);
public int GetTab (out string pbstrTab);
abstract member GetTab : string -> int
Public Function GetTab (ByRef pbstrTab As String) As Integer

Parameters

pbstrTab
String

[out, retval] Name of the selected tab.

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::GetTab(  
   [out, retval]BSTR* pbstrTab  
);  

Applies to