GetTab Method
The document is archived and information here might be outdated

IVsToolbox.GetTab Method

Returns the name of the selected tab.

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

int GetTab (
	out string pbstrTab
int GetTab (
	/** @attribute OutAttribute() */ /** @ref */ String pbstrTab
JScript does not support passing value-type arguments by reference.



[out, retval] Name of the selected tab.

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::GetTab(
   [out, retval]BSTR* pbstrTab
© 2016 Microsoft