FontWeight.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.NET