FontWeight.Equality(FontWeight, FontWeight) 演算子

定義

FontWeight の 2 つのインスタンスを比較し、等しいかどうかを確認します。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

パラメーター

left
FontWeight

比較対象の FontWeight の第 1 インスタンス。The first instance of FontWeight to compare.

right
FontWeight

比較対象の FontWeight の第 2 インスタンス。The second instance of FontWeight to compare.

戻り値

FontWeight のインスタンスが等しい場合は true。それ以外の場合は falsetrue if the instances of FontWeight are equal; otherwise, false.

適用対象