IVsToolbox3.GetIDOfTab(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);