次の方法で共有


IVsEnumTaskItems Interface

Definition

Enumerates the task items associated with task providers.

public interface class IVsEnumTaskItems
public interface class IVsEnumTaskItems
__interface IVsEnumTaskItems
[System.Runtime.InteropServices.Guid("66638598-522B-4058-9E65-FAF237700E81")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsEnumTaskItems
[System.Runtime.InteropServices.Guid("66638598-522B-4058-9E65-FAF237700E81")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsEnumTaskItems
[<System.Runtime.InteropServices.Guid("66638598-522B-4058-9E65-FAF237700E81")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsEnumTaskItems = interface
[<System.Runtime.InteropServices.Guid("66638598-522B-4058-9E65-FAF237700E81")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsEnumTaskItems = interface
Public Interface IVsEnumTaskItems
Attributes

Remarks

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.

Notes to Implementers

Task providers implement this interface to allow the task list to access their tasks through the EnumTaskItems(IVsEnumTaskItems) method.

Methods

Clone(IVsEnumTaskItems)

Creates an enumerator that contains the same state as the current enumerator.

Next(UInt32, IVsTaskItem[], UInt32[])

Retrieves a specified number of task items in the enumeration sequence.

Reset()

Sets the enumeration sequence to the beginning.

Skip(UInt32)

Skips a specified number of task items in the enumeration sequence.

Applies to