CodeBinaryOperatorType 枚举

定义

为受支持的二进制运算符定义标识符。Defines identifiers for supported binary operators.

public enum class CodeBinaryOperatorType
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum CodeBinaryOperatorType
type CodeBinaryOperatorType = 
Public Enum CodeBinaryOperatorType
继承
CodeBinaryOperatorType
属性

字段

Add 0

加法运算符。Addition operator.

Assign 5

赋值运算符。Assignment operator.

BitwiseAnd 10

按位与运算符。Bitwise and operator.

BitwiseOr 9

按位或运算符。Bitwise or operator.

BooleanAnd 12

布尔与运算符。Boolean and operator. 它表示短路运算符。This represents a short circuiting operator. 短路运算符仅计算返回正确值所必需的表达式。A short circuiting operator will evaluate only as many expressions as necessary before returning a correct value.

BooleanOr 11

布尔或运算符。Boolean or operator. 它表示短路运算符。This represents a short circuiting operator. 短路运算符仅计算返回正确值所必需的表达式。A short circuiting operator will evaluate only as many expressions as necessary before returning a correct value.

Divide 3

除法运算符。Division operator.

GreaterThan 15

大于运算符。Greater than operator.

GreaterThanOrEqual 16

大于或等于运算符。Greater than or equal operator.

IdentityEquality 7

恒等运算符。Identity equal operator.

IdentityInequality 6

非恒等运算符。Identity not equal operator.

LessThan 13

小于运算符。Less than operator.

LessThanOrEqual 14

小于或等于运算符。Less than or equal operator.

Modulus 4

模数运算符。Modulus operator.

Multiply 2

乘法运算符。Multiplication operator.

Subtract 1

减法运算符。Subtraction operator.

ValueEquality 8

值相等运算符。Value equal operator.

注解

CodeBinaryOperatorType 为最常见的二进制运算符类型定义标识符。CodeBinaryOperatorType defines identifiers for the most common types of binary operators. CodeBinaryOperatorExpression 使用这些运算符标识符来指示每个表达式中的运算符类型。These operator identifiers are used by CodeBinaryOperatorExpression to indicate the type of operator in each expression.

适用于

另请参阅