Partilhar via


FontWeight.Equality(FontWeight, FontWeight) Operador

Definição

Compara a igualdade de duas instâncias de FontWeight.

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

Parâmetros

left
FontWeight

A primeira instância de FontWeight para comparar.

right
FontWeight

A segunda instância de FontWeight para comparar.

Retornos

Boolean

true se as instâncias de FontWeight forem iguais; caso contrário, false.

Aplica-se a