Include Protected Members
Include Inherited Members
An implementation of IVsTaskItem, used to modify the appearance and functionality of a task in the task list.
The Task type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | Task() | Initializes a new instance of Task. | 
| .gif) | Task(Exception) | Initializes a new instance of Task for the supplied exception. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | GetUserContext | Creates a new user context. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | OnDeleted | Raised when the task has been deleted. | 
| .gif) | OnHelp | Raised when the user requests Help; for example by right-clicking and selecting Show Error Help. | 
| .gif) | OnNavigate | Raised when the user attempts to navigate to the task's location in the file, for example by double-clicking on the task. | 
| .gif) | OnRemoved | Raised when a task has been removed from the task list. | 
| .gif) | ToString | Returns a String that represents the current Object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | contextNameKeyword | Represents the keyword for the user context. This field is constant. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | CanDelete | Gets or sets whether or not the task can be deleted. | 
| .gif) | Category | Gets or sets the task's category. | 
| .gif) | Checked | Gets or sets whether not the task's check box is currently selected or cleared. | 
| .gif) | Column | Gets or sets the column number within the file associated with the task. | 
| .gif) | Document | Gets or sets the file associated with the task. | 
| .gif) | HelpKeyword | Gets or sets the Help keyword associated with the task. | 
| .gif) | ImageIndex | Gets or sets the index of the image associated with the task. | 
| .gif) | IsCheckedEditable | Gets or sets whether or not it is possible to edit the checked state of the task. | 
| .gif) | IsPriorityEditable | Gets or sets whether or not it is possible to edit the priority of a task. | 
| .gif) | IsTextEditable | Gets or sets whether or not it is possible to edit the description of a task. | 
| .gif) | Line | Gets or sets the line number of the file associated with the task. | 
| .gif) | Priority | Gets or sets the priority of a task. | 
| .gif) | SubcategoryIndex | Gets or sets the index of the subcategory of the task. | 
| .gif) | Text | Gets or sets the description of a task. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | Deleted | Handles OnDeleted events. | 
| .gif) | Help | Handles OnHelp events. | 
| .gif) | Navigate | Handles OnNavigate events. | 
| .gif) | Removed | Handles OnRemoved events. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IVsTaskItem.CanDelete | Gets whether or not it is possible to delete the task. | 
| .gif) .gif) | IVsTaskItem.Category | Sets the task category. | 
| .gif) .gif) | IVsTaskItem.Column | Gets the column number of the file associated with the task. | 
| .gif) .gif) | IVsTaskItem.Document | Gets the name of the file associated with the task. | 
| .gif) .gif) | IVsTaskItem.get_Checked | Determines whether the task item's check box is currently selected or cleared. | 
| .gif) .gif) | IVsTaskItem.get_Priority | Gets the priority of the task. | 
| .gif) .gif) | IVsTaskItem.get_Text | Gets the description of the task. | 
| .gif) .gif) | IVsTaskItem.HasHelp | Determines whether or not the task has associated help. | 
| .gif) .gif) | IVsTaskItem.ImageListIndex | Gets the index of the image associated with the task. | 
| .gif) .gif) | IVsTaskItem.IsReadOnly | Determines whether or not the specified task field is read-only. | 
| .gif) .gif) | IVsTaskItem.Line | Gets the line number of the file associated with the task. | 
| .gif) .gif) | IVsTaskItem.NavigateTo | Opens a file associated with a task and moves to the appropriate position in the file. | 
| .gif) .gif) | IVsTaskItem.NavigateToHelp | Opens the Help resource associated with a task. | 
| .gif) .gif) | IVsTaskItem.OnDeleteTask | Raised when a task has been deleted. | 
| .gif) .gif) | IVsTaskItem.OnFilterTask | Raised when a task has been filtered into or out of a view. | 
| .gif) .gif) | IVsTaskItem.put_Checked | Sets whether a task item's check box is selected or cleared. | 
| .gif) .gif) | IVsTaskItem.put_Priority | Sets the priority level of a task item. | 
| .gif) .gif) | IVsTaskItem.put_Text | Sets the description of the task. | 
| .gif) .gif) | IVsTaskItem.SubcategoryIndex | Gets the index of the task in the subcategory list. | 
Top