Freigeben über


IVsToolbox.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
'Usage
Dim instance As IVsToolbox
Dim pEnum As IEnumToolboxTabs
Dim returnValue As Integer

returnValue = instance.EnumTabs(pEnum)
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: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace