Version

TerminalSymbolComparison Enumeration

Constants which determine the manner in which a terminal symbol's value is compared to values in the compilation source.
Syntax
'Declaration
 
Public Enum TerminalSymbolComparison 
   Inherits System.Enum
public enum TerminalSymbolComparison : System.Enum 
Members
MemberDescription
LiteralThe value associated with the symbol is a literal string. The syntax parser will compare values in the compilation target with the associated value and generate an error if the values do not match exactly. The comparison under this setting is case-sensitive.
LiteralIgnoreCaseSame as the 'Literal' setting, except that character casing is ignored for the string comparisons.
RegularExpressionThe value associated with the symbol is implied to be a regular expression pattern. The System._Text.RegularExpressions.Regex class is used to determine whether values in the compilation target match the pattern assigned to the terminal symbol's value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also