Edit

Share via


Thickness.Equals Method

Definition

Overloads

Equals(Object)

Compares this Thickness structure to another Object for equality.

Equals(Thickness)

Compares this Thickness structure to another Thickness structure for equality.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Thickness struct. For more information, see Thickness in the UWP API reference.

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

The object to compare.

Returns

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

Applies to

Equals(Thickness)

Compares this Thickness structure to another Thickness structure for equality.

public:
 bool Equals(Windows::UI::Xaml::Thickness thickness);
public bool Equals (Windows.UI.Xaml.Thickness thickness);
override this.Equals : Windows.UI.Xaml.Thickness -> bool
Public Function Equals (thickness As Thickness) As Boolean

Parameters

thickness
Thickness

An instance of Thickness to compare for equality.

Returns

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

Applies to