IVsEnumTaskItems::Reset Method ()
Visual Studio 2015
Sets the enumeration sequence to the beginning.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
The IVsEnumTaskItems.Reset and Skip methods of this interface can be used to get to a particular position of the enumeration before using Next to retrieve task items from the enumeration.
For example, when a task provider calls RefreshTasks, the task list can find the new task items offered by the provider by calling EnumTaskItems to get the interface to IVsEnumTaskItems. The task list can then call IVsEnumTaskItems::Reset to go to the beginning of the enumeration, call Skip to skip over the tasks it already knows about, and finally call Next to get a list of the new tasks.
Show: