IVsToolbox2.EnumTabs Method (IEnumToolboxTabs%)
Enumerates through tabs in the Toolbox.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function EnumTabs ( _
<OutAttribute> ByRef pEnum As IEnumToolboxTabs _
) As Integer
'Uso
Dim instance As IVsToolbox2
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
- pEnum
Type: Microsoft.VisualStudio.Shell.Interop.IEnumToolboxTabs%
[out, retval] Pointer to the IEnumToolboxTabs interface, which is used to enumerate Toolbox tabs.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsToolbox.EnumTabs(IEnumToolboxTabs%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox2::EnumTabs(
[out, retval]IEnumToolboxTabs** pEnum
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.