Compartilhar via


_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)

Syntax

'Declaration
Public Enumeration _vstaskbitmap
public enum _vstaskbitmap
public enum class _vstaskbitmap
type _vstaskbitmap
public enum _vstaskbitmap

Members

Member name Description
BMP_COMMENT A blue "/*", used to represent comments in the task list.
BMP_COMPILE Used to represent compiler errors in the task list.
BMP_SHORTCUT A 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_SQUIGGLE A vertical red wavy line used to represent Code Sense errors in the task list.
BMP_USER Profile 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.

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace