In This Article

OperatorKind Enum

Specifies the kind of an operator.

public enum OperatorKind

Fields

Name Description
Addition

An addition operator.

AddressOf

An address-of operator.

BitwiseAnd

A bitwise AND operator.

BitwiseOr

A bitwise OR operator.

ConditionalAnd

A conditional AND binary operator.

ConditionalOr

A conditional OR binary operator.

Division

A division operator.

ExclusiveOr

A bitwise XOR operator.

ExplicitCast

An explicit cast operator.

Exponentiation

An exponentiation operator. Used in Visual Basic only (^).

GreaterThan

A greater than operator.

GreaterThanOrEqual

A greater than or equal operator.

ImplicitCast

An implicit cast operator.

IntegerDivision

An integer division operator. Used in Visual Basic only (</code>).

IsFalse

A false operator.

IsTrue

A true operator.

LeftShift

A left shift operator.

LessThan

A less than operator.

LessThanOrEqual

A less than or equal operator.

Modulus

A modulus operator.

Multiplication

A multiplication operator.

Negation

A negation operator.

None

No valid operator kind.

NullCoalescing

A null coalescing operator.

OnesComplement

A bitwise complement operator.

PointerIndirection

A pointer indirection operator.

PostDecrement

An post-decrement operator.

PostIncrement

An post-increment operator.

PreDecrement

An pre-decrement operator.

PreIncrement

An pre-increment operator.

ReferenceEquality

A reference equality operator. Used in Visual Basic only (Is).

ReferenceInequality

A reference inequality operator. Used in Visual Basic only (IsNot).

RightShift

A right shift operator.

StringConcatenation

A concatenation operator (&). Used in Visual Basic only.

Subtraction

A subtraction operator.

ValueEquality

A value equality operator.

ValueInequality

A value inequality operator.

WildcardPatternMatch

A string wildcard pattern match operator. Used in Visual Basic only (Like).