Thickness.Equals Thickness.Equals Thickness.Equals Thickness.Equals Method

Definition

Compares instances of Thickness for equality.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares this Thickness structure to another Object for equality.

Equals(Thickness) Equals(Thickness) Equals(Thickness)

Compares this Thickness structure to another Thickness structure for equality.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares this Thickness structure to another Object 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 Object Object 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.

Equals(Thickness) Equals(Thickness) Equals(Thickness)

Compares this Thickness structure to another Thickness structure for equality.

public:
 virtual bool Equals(System::Windows::Thickness thickness);
public bool Equals (System.Windows.Thickness thickness);
override this.Equals : System.Windows.Thickness -> bool

Parameters

thickness
Thickness Thickness Thickness Thickness

An instance of Thickness to compare for equality.

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