FontWeight.Equality(FontWeight, FontWeight) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個 的 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。