CodeBinaryOperatorType CodeBinaryOperatorType CodeBinaryOperatorType CodeBinaryOperatorType Enum

定义

为受支持的二进制运算符定义标识符。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
继承
CodeBinaryOperatorTypeCodeBinaryOperatorTypeCodeBinaryOperatorTypeCodeBinaryOperatorType
属性

字段

Add Add Add Add 0

加法运算符。Addition operator.

Assign Assign Assign Assign 5

赋值运算符。Assignment operator.

BitwiseAnd BitwiseAnd BitwiseAnd BitwiseAnd 10

按位与运算符。Bitwise and operator.

BitwiseOr BitwiseOr BitwiseOr BitwiseOr 9

按位或运算符。Bitwise or operator.

BooleanAnd BooleanAnd BooleanAnd 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 BooleanOr BooleanOr 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 Divide Divide Divide 3

除法运算符。Division operator.

GreaterThan GreaterThan GreaterThan GreaterThan 15

大于运算符。Greater than operator.

GreaterThanOrEqual GreaterThanOrEqual GreaterThanOrEqual GreaterThanOrEqual 16

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

IdentityEquality IdentityEquality IdentityEquality IdentityEquality 7

恒等运算符。Identity equal operator.

IdentityInequality IdentityInequality IdentityInequality IdentityInequality 6

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

LessThan LessThan LessThan LessThan 13

小于运算符。Less than operator.

LessThanOrEqual LessThanOrEqual LessThanOrEqual LessThanOrEqual 14

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

Modulus Modulus Modulus Modulus 4

模数运算符。Modulus operator.

Multiply Multiply Multiply Multiply 2

乘法运算符。Multiplication operator.

Subtract Subtract Subtract Subtract 1

减法运算符。Subtraction operator.

ValueEquality ValueEquality ValueEquality 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.

适用于

另请参阅