ערוך

שתף באמצעות


FontWeight.Equals Method

Definition

Determines whether a FontWeight object is equal to a specified object.

Overloads

Equals(Object)

Determines whether the current FontWeight object is equal to a specified object.

Equals(FontWeight)

Determines whether the current FontWeight object is equal to a specified FontWeight object.

Equals(Object)

Determines whether the current FontWeight object is equal to a specified object.

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

The Object to compare for equality.

Returns

true if the two instances are equal; otherwise, false.

Applies to

Equals(FontWeight)

Determines whether the current FontWeight object is equal to a specified FontWeight object.

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

Parameters

obj
FontWeight

The instance of FontWeight to compare for equality.

Returns

true if the two instances are equal; otherwise, false.

Applies to