CodeBinaryOperatorType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines identifiers for supported binary operators.
public enum class CodeBinaryOperatorType
public enum CodeBinaryOperatorType
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum CodeBinaryOperatorType
type CodeBinaryOperatorType =
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CodeBinaryOperatorType =
Public Enum CodeBinaryOperatorType
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Add | 0 | Addition operator. |
Subtract | 1 | Subtraction operator. |
Multiply | 2 | Multiplication operator. |
Divide | 3 | Division operator. |
Modulus | 4 | Modulus operator. |
Assign | 5 | Assignment operator. |
IdentityInequality | 6 | Identity not equal operator. |
IdentityEquality | 7 | Identity equal operator. |
ValueEquality | 8 | Value equal operator. |
BitwiseOr | 9 | Bitwise or operator. |
BitwiseAnd | 10 | Bitwise and operator. |
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. |
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. |
LessThan | 13 | Less than operator. |
LessThanOrEqual | 14 | Less than or equal operator. |
GreaterThan | 15 | Greater than operator. |
GreaterThanOrEqual | 16 | Greater than or equal operator. |
Remarks
CodeBinaryOperatorType defines identifiers for the most common types of binary operators. These operator identifiers are used by CodeBinaryOperatorExpression to indicate the type of operator in each expression.
Applies to
See also
.NET