Compartilhar via


IVsToolbox2.EnumTabs Method

Enumerates through tabs in the Toolbox.

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

Syntax

'Declaration
Function EnumTabs ( _
    <OutAttribute> ByRef pEnum As IEnumToolboxTabs _
) As Integer
int EnumTabs(
    out IEnumToolboxTabs pEnum
)
int EnumTabs(
    [OutAttribute] IEnumToolboxTabs^% pEnum
)
abstract EnumTabs : 
        pEnum:IEnumToolboxTabs byref -> int
function EnumTabs(
    pEnum : IEnumToolboxTabs
) : int

Parameters

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::EnumTabs(
   [out, retval]IEnumToolboxTabs** pEnum
);

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace