IVsToolbox3.GetIDOfTab(String, String) Method

Definition

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

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

Parameters

lpszTabName
String

[in] The localized name of the Toolbox tab.

pbstrTabID
String

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to