Freigeben über


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
'Usage
Dim instance As IVsToolbox3
Dim lpszTabID As String
Dim pbstrTabName As String
Dim returnValue As Integer

returnValue = instance.GetTabOfID(lpszTabID, _
    pbstrTabName)
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: System.String
    [in] The locale-invariant ID of the Toolbox tab.
  • pbstrTabName
    Type: System.String%
    [out] The localized name 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.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsToolbox3::GetTabOfID(
   [in] LPCOLESTR lpszTabID,
   [out] BSTR *pbstrTabName
);

.NET Framework Security

See Also

Reference

IVsToolbox3 Interface

IVsToolbox3 Members

Microsoft.VisualStudio.Shell.Interop Namespace