共用方式為


IVsTaskProvider Interface

Supplies tasks to the task list.

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

Syntax

'宣告
<GuidAttribute("6909C6ED-2AF5-4A35-8EA7-E6095A3ECF9E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTaskProvider
'用途
Dim instance As IVsTaskProvider
[GuidAttribute("6909C6ED-2AF5-4A35-8EA7-E6095A3ECF9E")]
[InterfaceTypeAttribute()]
public interface IVsTaskProvider
[GuidAttribute(L"6909C6ED-2AF5-4A35-8EA7-E6095A3ECF9E")]
[InterfaceTypeAttribute()]
public interface class IVsTaskProvider
[<GuidAttribute("6909C6ED-2AF5-4A35-8EA7-E6095A3ECF9E")>]
[<InterfaceTypeAttribute()>]
type IVsTaskProvider =  interface end
public interface IVsTaskProvider

Remarks

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

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

Notes to Implementers

Implement this interface to provide tasks to the task list.

See Also

Reference

IVsTaskProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace