IVsTaskItem2 Interface

Provides methods for modifying task behavior.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")> _
Public Interface IVsTaskItem2 _
    Inherits IVsTaskItem
'Usage
Dim instance As IVsTaskItem2
[InterfaceTypeAttribute()]
[GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")]
public interface IVsTaskItem2 : IVsTaskItem
[InterfaceTypeAttribute()]
[GuidAttribute(L"970A6925-5FFA-4A77-972F-7AB90C0130E5")]
public interface class IVsTaskItem2 : IVsTaskItem
public interface IVsTaskItem2 extends IVsTaskItem

Remarks

The environment implements the IVsTaskList interface to create a container for tasks. To put tasks into the task list, implement IVsTaskProvider2, which specifies 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.

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

Notes to Implementers:

IVsTaskItem is implemented by task providers to modify the appearance or functionality of a task in the task list. IVsTaskItem2 provides additional methods so task providers can create their own custom views.

See Also

Reference

IVsTaskItem2 Members

Microsoft.VisualStudio.Shell.Interop Namespace