共用方式為


IVsTaskItem 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("0F6D7FB4-2649-4E51-BC20-3698F9F51358")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTaskItem
'用途
Dim instance As IVsTaskItem
[GuidAttribute("0F6D7FB4-2649-4E51-BC20-3698F9F51358")]
[InterfaceTypeAttribute()]
public interface IVsTaskItem
[GuidAttribute(L"0F6D7FB4-2649-4E51-BC20-3698F9F51358")]
[InterfaceTypeAttribute()]
public interface class IVsTaskItem
[<GuidAttribute("0F6D7FB4-2649-4E51-BC20-3698F9F51358")>]
[<InterfaceTypeAttribute()>]
type IVsTaskItem =  interface end
public interface 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

IVsTaskItem Members

Microsoft.VisualStudio.Shell.Interop Namespace