FontWeight.Inequality(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 op_Inequality : System.Windows.FontWeight * System.Windows.FontWeight -> bool
Public Shared Operator != (left As FontWeight, right As FontWeight) As Boolean

參數

left
FontWeight

要比較的第一個 FontWeight 執行個體。

right
FontWeight

要比較的第二個 FontWeight 執行個體。

傳回

如果 false 等於 left,則為 right,否則為 true

適用於