语言

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 实例。

返回

如果显示指定的 对象相等,则为 ;否则为 < a1/ >。

适用于