Thickness.Equality(Thickness, Thickness) Operator
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 the value of two Thickness structures for equality.
public:
static bool operator ==(System::Windows::Thickness t1, System::Windows::Thickness t2);
public static bool operator == (System.Windows.Thickness t1, System.Windows.Thickness t2);
static member ( = ) : System.Windows.Thickness * System.Windows.Thickness -> bool
Public Shared Operator == (t1 As Thickness, t2 As Thickness) As Boolean
Parameters
- t1
- Thickness
The first structure to compare.
- t2
- Thickness
The other structure to compare.
Returns
true
if the two instances of Thickness 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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor