FontWeight.Equality(FontWeight, FontWeight) Operator

Definition

Jämför två instanser av FontWeight för likhet.

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

Parametrar

left
FontWeight

Den första instansen av FontWeight att jämföra.

right
FontWeight

Den andra instansen av FontWeight att jämföra.

Returer

trueom instanserna av FontWeight är lika, annars . false

Gäller för