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)]
public enum TokenColor
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("78008402-40D4-30BF-BD91-A61D8815625E")]
public enum TokenColor
[<System.Runtime.InteropServices.ComVisible(true)>]
type TokenColor = 
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("78008402-40D4-30BF-BD91-A61D8815625E")>]
type TokenColor = 
Public Enum TokenColor
Inheritance
TokenColor
Attributes

Fields

COLOR_COMMENT 3

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

COLOR_CONDITIONAL_COMP 7

Not used.

COLOR_IDENTIFIER 1

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

COLOR_KEYWORD 2

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

COLOR_NUMBER 5

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

COLOR_OPERATOR 4

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

COLOR_STRING 6

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

COLOR_TEXT 0

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

Applies to

See also