IVsToolbox3::GetIDOfTab Method (String^, String^)

 

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 Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetIDOfTab(
	String^ lpszTabName,
	[OutAttribute] String^% pbstrTabID
)

Parameters

lpszTabName
Type: System::String^

[in] The localized name of the Toolbox tab.

pbstrTabID
Type: System::String^

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

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