_vstaskbitmap Enumeration

Specifies options for a bitmap image associated with a task item.

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

public enum _vstaskbitmap

Member nameDescription
BMP_COMPILEUsed to represent compiler errors in the task list.
BMP_SQUIGGLEA vertical red wavy line used to represent Code Sense errors in the task list.
BMP_COMMENTA blue "/*", used to represent comments in the task list.
BMP_SHORTCUTA small curved arrow, used to represent shortcuts in the task list. Shortcuts are generated by the user right-clicking the editor window, and choosing Add Task List shortcut from the pop-up menu. Users should be encouraged to use shortcuts rather than bookmarks to mark positions in the editor window.
BMP_USERProfile of a human head, used to represent user-defined tasks in the task list. The top of the task list, above its first item, is set up to allow users to easily add their own tasks to the task list.

COM Signature

From vsshell.idl:

Each task item references its own bitmap image. However, task providers may want to associate task bitmaps with task categories or subcategories.

Task providers may create their own bitmaps for tasks by using the IVsTaskProvider2::get_ImageList method. Provider-created bitmaps are indexed to a particular task by using the IVsTaskItem2::get_ImageListIndex method.

Community Additions