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
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox::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.