Bagikan melalui


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)

Syntax

'Declaration
<GuidAttribute("F353950E-C381-4BA6-BCAA-6BA64E53D252")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTaskItem3
[GuidAttribute("F353950E-C381-4BA6-BCAA-6BA64E53D252")]
[InterfaceTypeAttribute()]
public interface IVsTaskItem3
[GuidAttribute(L"F353950E-C381-4BA6-BCAA-6BA64E53D252")]
[InterfaceTypeAttribute()]
public interface class IVsTaskItem3
[<GuidAttribute("F353950E-C381-4BA6-BCAA-6BA64E53D252")>]
[<InterfaceTypeAttribute()>]
type IVsTaskItem3 =  interface end
public interface IVsTaskItem3

The IVsTaskItem3 type exposes the following members.

Methods

  Name Description
Public method GetColumnValue Returns the value of this task for a given column.
Public method GetDefaultEditField 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.
Public method GetEnumCount Given a column field, returns the number of possible values this task may have for that column.
Public method GetEnumValue Given a column field and value index, returns the indexed value for this task and column.
Public method GetNavigationStatusText This method returns the text that will be placed on the status bar when the task is successfully navigated to.
Public method GetSurrogateProviderGuid 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.
Public method GetTaskName Returns a string naming or describing the task. Used for accessibility.
Public method GetTaskProvider Gets the provider that owns this item.
Public method GetTipText 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.
Public method IsDirty Determines if a task list item has changed.
Public method OnLinkClicked 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.
Public method SetColumnValue When the user edits a task, this method is called for each edited column once the edit is committed.

Top

Remarks

You must also implement IVsTaskItem with this interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace