TokenColor TokenColor TokenColor TokenColor Enum

Definition

Specifies the colors that individual units of code should have when text is being colorized in an editor. The members of this enumeration are used by the Color property of ITokenColorInfo objects.

This API supports the product infrastructure and is not intended to be used directly from your code.

public enum class TokenColor
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("78008402-40D4-30BF-BD91-A61D8815625E")]
public enum TokenColor
type TokenColor = 
Public Enum TokenColor
Inheritance
Attributes

Fields

COLOR_COMMENT COLOR_COMMENT COLOR_COMMENT COLOR_COMMENT 3

The color for a unit of code that represents a comment.

COLOR_CONDITIONAL_COMP COLOR_CONDITIONAL_COMP COLOR_CONDITIONAL_COMP COLOR_CONDITIONAL_COMP 7

Not used.

COLOR_IDENTIFIER COLOR_IDENTIFIER COLOR_IDENTIFIER COLOR_IDENTIFIER 1

The color for a unit of code that represents an identifier.

COLOR_KEYWORD COLOR_KEYWORD COLOR_KEYWORD COLOR_KEYWORD 2

The color for a unit of code that represents a keyword.

COLOR_NUMBER COLOR_NUMBER COLOR_NUMBER COLOR_NUMBER 5

The color for a unit of code that represents a numeric literal.

COLOR_OPERATOR COLOR_OPERATOR COLOR_OPERATOR COLOR_OPERATOR 4

The color for a unit of code that represents an operator.

COLOR_STRING COLOR_STRING COLOR_STRING COLOR_STRING 6

The color for a unit of code that represents a string literal.

COLOR_TEXT COLOR_TEXT COLOR_TEXT COLOR_TEXT 0

The color for a unit of code that represents text. This is the default value.

Applies to

See also