次の方法で共有


IVsToolbox.EnumTabs(IEnumToolboxTabs) Method

Definition

Enumerates through tabs in the Toolbox.

public:
 int EnumTabs([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumToolboxTabs ^ % pEnum);
public:
 int EnumTabs([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumToolboxTabs ^ &  pEnum);
int EnumTabs([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumToolboxTabs const & & pEnum);
public int EnumTabs (out Microsoft.VisualStudio.Shell.Interop.IEnumToolboxTabs pEnum);
abstract member EnumTabs : IEnumToolboxTabs -> int
Public Function EnumTabs (ByRef pEnum As IEnumToolboxTabs) As Integer

Parameters

pEnum
IEnumToolboxTabs

[out, retval] Pointer to the IEnumToolboxTabs interface, which is used to enumerate Toolbox tabs.

Returns

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  
);  

Applies to