編輯

共用方式為


CodeBinaryOperatorExpression.Operator Property

Definition

Gets or sets the operator in the binary operator expression.

public:
 property System::CodeDom::CodeBinaryOperatorType Operator { System::CodeDom::CodeBinaryOperatorType get(); void set(System::CodeDom::CodeBinaryOperatorType value); };
public System.CodeDom.CodeBinaryOperatorType Operator { get; set; }
member this.Operator : System.CodeDom.CodeBinaryOperatorType with get, set
Public Property Operator As CodeBinaryOperatorType

Property Value

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

Remarks

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.

Applies to

See also