IVsTaskList::EnumTaskItems Method (IVsEnumTaskItems^)
Visual Studio 2015
Enumerates all of the tasks on the task list.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ppenum
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsEnumTaskItems^
[out] Pointer to the IVsEnumTaskItems interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
Show: