CodeBinaryOperatorExpression.Operator Property

 

Gets or sets the operator in the binary operator expression.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeBinaryOperatorType Operator { get; set; }

Property Value

Type: System.CodeDom.CodeBinaryOperatorType

A CodeBinaryOperatorType that indicates the type of operator in the expression.

A binary operator performs an evaluation on two operands. Some examples of binary operators are equality (==), addition (+), and bitwise (|) operators. Many commonly used binary operators can be found in the CodeBinaryOperatorType enumeration.

.NET Framework
Available since 1.1
Return to top
Show: