次の方法で共有


IVsTaskProvider2 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("A7E6B1F9-DFF1-4354-870F-196BE871F329")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTaskProvider2 _
    Implements IVsTaskProvider
'使用
Dim instance As IVsTaskProvider2
[GuidAttribute("A7E6B1F9-DFF1-4354-870F-196BE871F329")]
[InterfaceTypeAttribute()]
public interface IVsTaskProvider2 : IVsTaskProvider
[GuidAttribute(L"A7E6B1F9-DFF1-4354-870F-196BE871F329")]
[InterfaceTypeAttribute()]
public interface class IVsTaskProvider2 : IVsTaskProvider
public interface IVsTaskProvider2 extends 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

IVsTaskProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace