Upravit

Sdílet prostřednictvím


FontStyle.Equality(FontStyle, FontStyle) Operator

Definition

Compares two instances of FontStyle for equality.

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

Parameters

left
FontStyle

The first instance of FontStyle to compare.

right
FontStyle

The second instance of FontStyle to compare.

Returns

true to show the specified FontStyle objects are equal; otherwise, false.

Applies to