Thickness.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.
Compares instances of Thickness for equality.
Overloads
Equals(Object) |
Compares this Thickness structure to another Object for equality. |
Equals(Thickness) |
Compares this Thickness structure to another Thickness structure for equality. |
Equals(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.
Returns
true
if the two objects are equal; otherwise, false
.
Remarks
Testing for equality on two floating-point values that are logically equivalent might fail because of precision errors that can accumulate as the values are operated on.
Applies to
Equals(Thickness)
public:
virtual bool Equals(System::Windows::Thickness thickness);
public bool Equals (System.Windows.Thickness thickness);
override this.Equals : System.Windows.Thickness -> bool
Public Function Equals (thickness As Thickness) As Boolean
Parameters
Returns
true
if the two instances of Thickness are equal; otherwise, false
.
Implements
Remarks
Testing for equality or inequality on two floating-point values that are logically equivalent might fail because of precision errors that can accumulate as the values are operated on.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για