FontWeight.Equality(FontWeight, FontWeight) 運算子

定義

比較兩個 的 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

參數

left
FontWeight

第一個例子 FontWeight 是比較。

right
FontWeight

第二個例子 FontWeight 是比較。

傳回

true 若 的 FontWeight 實例相等;否則, false

適用於