Partilhar via


IVsTaskItem3 Interface

Definition

Adds content to the TaskList window.

public interface class IVsTaskItem3
public interface class IVsTaskItem3
__interface IVsTaskItem3
[System.Runtime.InteropServices.Guid("F353950E-C381-4BA6-BCAA-6BA64E53D252")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTaskItem3
[<System.Runtime.InteropServices.Guid("F353950E-C381-4BA6-BCAA-6BA64E53D252")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTaskItem3 = interface
Public Interface IVsTaskItem3
Attributes

Remarks

You must also implement IVsTaskItem with this interface.

Methods

GetColumnValue(Int32, UInt32, UInt32, Object, String)

Returns the value of this task for a given column.

GetDefaultEditField(Int32)

If 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.

GetEnumCount(Int32, Int32)

Given a column field, returns the number of possible values this task may have for that column.

GetEnumValue(Int32, Int32, Object, String)

Given a column field and value index, returns the indexed value for this task and column.

GetNavigationStatusText(String)

This method returns the text that will be placed on the status bar when the task is successfully navigated to.

GetSurrogateProviderGuid(Guid)

If 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.

GetTaskName(String)

Returns a string naming or describing the task. Used for accessibility.

GetTaskProvider(IVsTaskProvider3)

Gets the provider that owns this item.

GetTipText(Int32, String)

Returns 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.

IsDirty(Int32)

Determines if a task list item has changed.

OnLinkClicked(Int32, Int32)

If 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.

SetColumnValue(Int32, Object)

When the user edits a task, this method is called for each edited column once the edit is committed.

Applies to