Edit

Share via


FontStyle.Equals Method

Definition

Compares two instances of FontStyle for equality.

Overloads

Equals(Object)

Compares an Object with the current FontStyle instance for equality.

Equals(FontStyle)

Compares a FontStyle with the current FontStyle instance for equality.

Equals(Object)

Compares an Object with the current FontStyle instance for equality.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An Object value that represents the FontStyle to compare for equality.

Returns

true to show the two instances are equal; otherwise, false.

Applies to

Equals(FontStyle)

Compares a FontStyle with the current FontStyle instance for equality.

public:
 bool Equals(System::Windows::FontStyle obj);
public bool Equals (System.Windows.FontStyle obj);
override this.Equals : System.Windows.FontStyle -> bool
Public Function Equals (obj As FontStyle) As Boolean

Parameters

obj
FontStyle

An instance of FontStyle to compare for equality.

Returns

true to show the two instances are equal; otherwise, false.

Applies to