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
'宣言
<GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTaskItem2 _
Implements IVsTaskItem
'使用
Dim instance As IVsTaskItem2
[GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")]
[InterfaceTypeAttribute()]
public interface IVsTaskItem2 : IVsTaskItem
[GuidAttribute(L"970A6925-5FFA-4A77-972F-7AB90C0130E5")]
[InterfaceTypeAttribute()]
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.