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)


Function EnumTabs ( _
    <OutAttribute> ByRef pEnum As IEnumToolboxTabs _
) As Integer
‘사용 방법
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


Return Value

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


COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also


IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace