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
Add | 1 | Represents the '+' operator. |
And | 10 | Represents the C# '&' operator and VB 'And' operator. |
Concatenate | 15 | Represents the VB '&' operator for string concatenation. |
ConditionalAnd | 13 | Represents the C# '&&' operator and VB 'AndAlso' operator. |
ConditionalOr | 14 | Represents the C# '||' operator and VB 'OrElse' operator. |
Divide | 4 | Represents the '/' operator. |
Equals | 16 | Represents the C# '==' operator and VB 'Is' operator and '=' operator for non-object typed operands. |
ExclusiveOr | 12 | Represents the C# '^' operator and VB 'Xor' operator. |
GreaterThan | 23 | Represents the '>' operator. |
GreaterThanOrEqual | 22 | Represents the '>=' operator. |
IntegerDivide | 5 | Represents the VB '' integer divide operator. |
LeftShift | 8 | Represents the '<<' operator. |
LessThan | 20 | Represents the '<' operator. |
LessThanOrEqual | 21 | Represents the '<=' operator. |
Like | 24 | Represents the VB 'Like' operator. |
Multiply | 3 | Represents the '*' operator. |
None | 0 | Represents unknown or error operator kind. |
NotEquals | 18 | Represents the C# '!=' operator and VB 'IsNot' operator and '<>' operator for non-object typed operands. |
ObjectValueEquals | 17 | Represents the VB '=' operator for object typed operands. |
ObjectValueNotEquals | 19 | Represents the VB '<>' operator for object typed operands. |
Or | 11 | Represents the C# '|' operator and VB 'Or' operator. |
Power | 7 | Represents the VB '^' exponentiation operator. |
Remainder | 6 | Represents the C# '%' operator and VB 'Mod' operator. |
RightShift | 9 | Represents the '>>' operator. |
Subtract | 2 | Represents the '-' operator. |
UnsignedRightShift | 25 | Represents the '>>>' operator. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin