This documentation is archived and is not being maintained.

IVsTaskItem3 Methods

  Name Description
Public method GetColumnValue
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
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. The type of pvarValue will be the same as the type returned from GetColumnValue.