Size.Equals Method

Definition

Overloads

Equals(Object)

Whether thisSize is equivalent to obj.

Equals(Size)

Whether thisSize is equivalent to other.

Equals(Object)

Whether thisSize is equivalent to obj.

public override bool Equals(object obj);
override this.Equals : obj -> bool

Parameters

obj
System.Object

The object to which this is being compared.

Returns

System.Boolean

true if obj is a Size whose values are identical to thisSize's Height and Width.

Applies to

Equals(Size)

Whether thisSize is equivalent to other.

public bool Equals(Xamarin.Forms.Size other);
override this.Equals : Xamarin.Forms.Size -> bool

Parameters

other
Size

The Size to which this is being compared.

Returns

System.Boolean

true if other's values are identical to thisSize's Height and Width.

Applies to