FontWeight.Equality(FontWeight, FontWeight) Operatore

Definizione

Confronta due istanze di FontWeight per determinare se siano uguali.Compares two instances of FontWeight for equality.

public:
 static bool operator ==(System::Windows::FontWeight left, System::Windows::FontWeight right);
public static bool operator == (System.Windows.FontWeight left, System.Windows.FontWeight right);
static member ( = ) : System.Windows.FontWeight * System.Windows.FontWeight -> bool
Public Shared Operator == (left As FontWeight, right As FontWeight) As Boolean

Parametri

left
FontWeight

Prima istanza dell'oggetto FontWeight da confrontare.The first instance of FontWeight to compare.

right
FontWeight

Seconda istanza dell'oggetto FontWeight da confrontare.The second instance of FontWeight to compare.

Restituisce

Boolean

true se le istanze di FontWeight sono uguali; in caso contrario false.true if the instances of FontWeight are equal; otherwise, false.

Si applica a