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
'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")> _
Public Interface IVsTaskItem2 _
Inherits IVsTaskItem
'用途
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
[<InterfaceTypeAttribute()>]
[<GuidAttribute("970A6925-5FFA-4A77-972F-7AB90C0130E5")>]
type IVsTaskItem2 =
interface
interface IVsTaskItem
end
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.