This documentation is archived and is not being maintained.

IVsToolbox3.GetIDOfTab Method

Retrieves the canonical ID for the given localized name of the Toolbox tab.

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

int GetIDOfTab (
	[InAttribute] string lpszTabName,
	out string pbstrTabID
int GetIDOfTab (
	/** @attribute InAttribute() */ String lpszTabName, 
	/** @attribute OutAttribute() */ /** @ref */ String pbstrTabID
JScript does not support passing value-type arguments by reference.



[in] The localized name of the Toolbox tab.


[out] The locale-invariant ID of the Toolbox tab.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell80.idl:

HRESULT IVsToolbox3::GetIDOfTab(
   [in] LPCOLESTR lpszTabName,
   [out] BSTR *pbstrTabID