BinaryOperatorKind 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.
Kind of binary operator.
public enum class BinaryOperatorKind
public enum BinaryOperatorKind
type BinaryOperatorKind =
Public Enum BinaryOperatorKind
- Inheritance
-
BinaryOperatorKind
Fields
Name | Value | Description |
---|---|---|
None | 0 | Represents unknown or error operator kind. |
Add | 1 | Represents the '+' operator. |
Subtract | 2 | Represents the '-' operator. |
Multiply | 3 | Represents the '*' operator. |
Divide | 4 | Represents the '/' operator. |
IntegerDivide | 5 | Represents the VB '' integer divide operator. |
Remainder | 6 | Represents the C# '%' operator and VB 'Mod' operator. |
Power | 7 | Represents the VB '^' exponentiation operator. |
LeftShift | 8 | Represents the '<<' operator. |
RightShift | 9 | Represents the '>>' operator. |
And | 10 | Represents the C# '&' operator and VB 'And' operator. |
Or | 11 | Represents the C# '|' operator and VB 'Or' operator. |
ExclusiveOr | 12 | Represents the C# '^' operator and VB 'Xor' operator. |
ConditionalAnd | 13 | Represents the C# '&&' operator and VB 'AndAlso' operator. |
ConditionalOr | 14 | Represents the C# '||' operator and VB 'OrElse' operator. |
Concatenate | 15 | Represents the VB '&' operator for string concatenation. |
Equals | 16 | Represents the C# '==' operator and VB 'Is' operator and '=' operator for non-object typed operands. |
ObjectValueEquals | 17 | Represents the VB '=' operator for object typed operands. |
NotEquals | 18 | Represents the C# '!=' operator and VB 'IsNot' operator and '<>' operator for non-object typed operands. |
ObjectValueNotEquals | 19 | Represents the VB '<>' operator for object typed operands. |
LessThan | 20 | Represents the '<' operator. |
LessThanOrEqual | 21 | Represents the '<=' operator. |
GreaterThanOrEqual | 22 | Represents the '>=' operator. |
GreaterThan | 23 | Represents the '>' operator. |
Like | 24 | Represents the VB 'Like' operator. |
UnsignedRightShift | 25 | Represents the '>>>' operator. |