共用方式為


IVsTaskList Interface

Manages lists of task items supplied by task providers.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")> _
Public Interface IVsTaskList
'用途
Dim instance As IVsTaskList
[InterfaceTypeAttribute()]
[GuidAttribute("9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
public interface IVsTaskList
[InterfaceTypeAttribute()]
[GuidAttribute(L"9D21BCC5-2C63-4A61-B055-2F3DF78EB30A")]
public interface class IVsTaskList
public interface IVsTaskList

Remarks

The environment implements the IVsTaskList interface to create a container for tasks. To put tasks into the task list, implement IVsTaskProvider. IVsTaskProvider enumerates a list of task items, each of which is an IVsTaskItem. The IVsTaskItem interface contains methods for modifying the behavior of tasks. The IVsTaskItem2 interface provides methods for managing custom columns.

Tasks can also be added to the task list through the OutputTaskItemString and FlushToTaskList methods of IVsOutputWindowPane.

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

Notes to Callers:

Task providers should call this interface to store and manage their tasks as a part of the environment's task list.Example

See Also

Reference

IVsTaskList Members

Microsoft.VisualStudio.Shell.Interop Namespace