UnaryOperatorKind 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 unary operator
public enum class UnaryOperatorKind
public enum UnaryOperatorKind
type UnaryOperatorKind =
Public Enum UnaryOperatorKind
- Inheritance
-
UnaryOperatorKind
Fields
Name | Value | Description |
---|---|---|
None | 0 | Represents unknown or error operator kind. |
BitwiseNegation | 1 | Represents the C# '~' operator. |
Not | 2 | Represents the C# '!' operator and VB 'Not' operator. |
Plus | 3 | Represents the unary '+' operator. |
Minus | 4 | Represents the unary '-' operator. |
True | 5 | Represents the C# 'true' operator and VB 'IsTrue' operator. |
False | 6 | Represents the C# 'false' operator and VB 'IsFalse' operator. |
Hat | 7 | Represents the C# '^' operator. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.