Freigeben über


CodeBinaryOperatorExpression.Operator-Eigenschaft

Ruft den Operator im Ausdruck für binäre Operatoren ab oder legt diesen fest.

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

Syntax

'Declaration
Public Property Operator As CodeBinaryOperatorType
'Usage
Dim instance As CodeBinaryOperatorExpression
Dim value As CodeBinaryOperatorType

value = instance.Operator

instance.Operator = value
public CodeBinaryOperatorType Operator { get; set; }
public:
property CodeBinaryOperatorType Operator {
    CodeBinaryOperatorType get ();
    void set (CodeBinaryOperatorType value);
}
/** @property */
public CodeBinaryOperatorType get_Operator ()

/** @property */
public void set_Operator (CodeBinaryOperatorType value)
public function get Operator () : CodeBinaryOperatorType

public function set Operator (value : CodeBinaryOperatorType)

Eigenschaftenwert

Ein CodeBinaryOperatorType, der den Typ des Operators im Ausdruck angibt.

Hinweise

Ein binärer Operator vergleicht zwei Operanden miteinander. Beispiele für binäre Operatoren sind der Gleichheitsoperator (==), der Additionsoperator (+) und bitweise Operatoren (|). Viele der gebräuchlichen binären Operatoren finden Sie unter CodeBinaryOperatorType-Enumeration.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

CodeBinaryOperatorExpression-Klasse
CodeBinaryOperatorExpression-Member
System.CodeDom-Namespace
CodeBinaryOperatorType