Compartilhar via


IVsToolbox3.GetTabOfID Method

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

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

Syntax

'Declaration
Function GetTabOfID ( _
    lpszTabID As String, _
    <OutAttribute> ByRef pbstrTabName As String _
) As Integer
int GetTabOfID(
    string lpszTabID,
    out string pbstrTabName
)
int GetTabOfID(
    [InAttribute] String^ lpszTabID, 
    [OutAttribute] String^% pbstrTabName
)
abstract GetTabOfID : 
        lpszTabID:string * 
        pbstrTabName:string byref -> int
function GetTabOfID(
    lpszTabID : String, 
    pbstrTabName : String
) : int

Parameters

  • lpszTabID
    Type: String

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

  • pbstrTabName
    Type: String%

    [out] The localized name of the Toolbox tab.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsToolbox3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace