語言

FontStyle.Equality(FontStyle, FontStyle) 運算子

定義

比較兩個 的 FontStyle 實例,為相等。

public:
 static bool operator ==(System::Windows::FontStyle left, System::Windows::FontStyle right);
public static bool operator ==(System.Windows.FontStyle left, System.Windows.FontStyle right);
static member ( = ) : System.Windows.FontStyle * System.Windows.FontStyle -> bool
Public Shared Operator == (left As FontStyle, right As FontStyle) As Boolean

參數

left
FontStyle

第一個例子 FontStyle 是比較。

right
FontStyle

第二個例子 FontStyle 是比較。

傳回

true以證明指定的FontStyle物件相等;否則,。 false

適用於