Share via


IVsToolbox3.GetGeneralTabID Method

Gets the ID for the General tab.

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

Syntax

'Declaration
Function GetGeneralTabID ( _
    <OutAttribute> ByRef pbstrTabID As String _
) As Integer
int GetGeneralTabID(
    out string pbstrTabID
)
int GetGeneralTabID(
    [OutAttribute] String^% pbstrTabID
)
abstract GetGeneralTabID : 
        pbstrTabID:string byref -> int
function GetGeneralTabID(
    pbstrTabID : String
) : int

Parameters

  • 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.

Remarks

GetGeneralTabID returns the unique ID of the General tab, so packages can select that tab without having to hard-code the ID or attempt to look it up in a resource table.

COM Signature

From vsshell80.idl:

HRESULT GetGeneralTabID(
    [out] BSTR* pbstrTabID
);

.NET Framework Security

See Also

Reference

IVsToolbox3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace