We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsTaskItem3 Interface

Adds content to the Task List window.

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

public interface IVsTaskItem3

The IVsTaskItem3 type exposes the following members.

Public methodGetColumnValueReturns the value of this task for a given column.
Public methodGetDefaultEditFieldIf the user starts editing the task in a way that does not select a specific field, this method specifies the field in which editing will begin.
Public methodGetEnumCountGiven a column field, returns the number of possible values this task may have for that column.
Public methodGetEnumValueGiven a column field and value index, returns the indexed value for this task and column.
Public methodGetNavigationStatusTextThis method returns the text that will be placed on the status bar when the task is successfully navigated to.
Public methodGetSurrogateProviderGuidIf the task implements this method, it will be listed under the surrogate provider in the list, as if it belongs to the surrogate provider. This overrides the surrogate provider specified by IVsTaskProvider.GetSurrogateProviderGuid, if any.
Public methodGetTaskNameReturns a string naming or describing the task. Used for accessibility.
Public methodGetTaskProviderGets the provider that owns this item.
Public methodGetTipTextReturns the tip text for the given field. If this method fails or returns an empty string, the task list will use the text of the item itself (if any) or the accessibility name as the tip text.
Public methodIsDirtyDetermines if a task list item has changed.
Public methodOnLinkClickedIf the user clicks on an underlined link in a value of type TVT_LINKTEXT, this method is called with the column field and the link index (the first link in a given value is link 0). The task item should take whatever action is appropriate.
Public methodSetColumnValueWhen the user edits a task, this method is called for each edited column once the edit is committed.

You must also implement IVsTaskItem with this interface.