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

位元的 AND 運算子。Bitwise and operator.

BitwiseOr BitwiseOr BitwiseOr BitwiseOr 9

位元的 OR 運算子。Bitwise or operator.

BooleanAnd BooleanAnd BooleanAnd BooleanAnd 12

布林值 AND 運算子。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

布林值 OR 運算子。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.

適用於

另請參閱