IVsTaskProvider2::EnumTaskItems Method (IVsEnumTaskItems^)
Visual Studio 2015
Enumerates the tasks supplied by the task provider.
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 IVsTaskProvider2::EnumTaskItems( [out] IVsEnumTaskItems **ppEnum );
The task list uses this method to scan through all of the tasks of this task provider, via the IVsEnumTaskItems interface that is returned.
This method enumerates only the tasks provided by this task provider. All of the tasks in the task list are enumerated through the EnumTaskItems.
Show: