This documentation is archived and is not being maintained.

IVsEnumTaskItems Interface

Enumerates the task items associated with task providers.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("66638598-522B-4058-9E65-FAF237700E81")] 
public interface IVsEnumTaskItems
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("66638598-522B-4058-9E65-FAF237700E81") */ 
public interface IVsEnumTaskItems
InterfaceTypeAttribute(1) 
GuidAttribute("66638598-522B-4058-9E65-FAF237700E81") 
public interface IVsEnumTaskItems

When RefreshTasks is called, the task list queries the specified task provider for its task items by using EnumTaskItems. The task list finds any new or updated tasks and adds them to its own enumeration of task items. Task providers are responsible for adding, updating, and deleting their tasks from the enumeration of task items that they provide, and for implementing the methods of this interface so that the task list may use them.

See illustrations of the implementation of this interface in the sample Figures Language Service Sample.

Notes to Implementers Task providers implement this interface to allow the task list to access their tasks through the EnumTaskItems method.

Show: