System.CodeDom.CodeBinaryOperatorType Enumeration

Defines identifiers for supported binary operators.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum CodeBinaryOperatorType

Remarks

System.CodeDom.CodeBinaryOperatorType defines identifiers for the most common types of binary operators. These operator identifiers are used by System.CodeDom.CodeBinaryOperatorExpression to indicate the type of operator in each expression.

Members

Member NameDescription
Add

Addition operator.

Assign

Assignment operator.

BitwiseAnd

Bitwise and operator.

BitwiseOr

Bitwise or operator.

BooleanAnd

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

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

Division operator.

GreaterThan

Greater than operator.

GreaterThanOrEqual

Greater than or equal operator.

IdentityEquality

Identity equal operator.

IdentityInequality

Identity not equal operator.

LessThan

Less than operator.

LessThanOrEqual

Less than or equal operator.

Modulus

Modulus operator.

Multiply

Multiplication operator.

Subtract

Subtraction operator.

ValueEquality

Value equal operator.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0