Compartir a través de


IVsToolbox3.GetTabOfID(String, String) Method

Definition

Retrieves the localized name of a Toolbox tab, given its canonical ID.

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

Parameters

lpszTabID
String

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

pbstrTabName
String

[out] The localized name 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::GetTabOfID(  
   [in] LPCOLESTR lpszTabID,  
   [out] BSTR *pbstrTabName  
);  

Applies to