Share via


IVsTaskList.EnumTaskItems(IVsEnumTaskItems) Method

Definition

Enumerates all of the tasks on the task list.

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

Parameters

ppenum
IVsEnumTaskItems

[out] Pointer to the IVsEnumTaskItems interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskList::EnumTaskItems(  
   [out] IVsEnumTaskItems **ppEnum  
);  

You can use this method to scan through all of the tasks on the task list, via the IVsEnumTaskItems interface that is returned.

For a detailed list of the tasks associated with a specific task provider, see EnumTaskItems.

Applies to