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 microsoft.visualstudio.shell.interop.dll)

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

Parameters

pbstrTab

[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
);
Show:
© 2016 Microsoft