Share via


Size.Equals Method

Definition

Overloads

Equals(Size)

Determines whether the specified size is equal to the current size.

Equals(Object)

Determines whether the specified object is equal to the current size.

Equals(Size)

Source:
Size.cs
Source:
Size.cs
Source:
Size.cs

Determines whether the specified size is equal to the current size.

public:
 bool Equals(Microsoft::Maui::Graphics::Size other);
public bool Equals(Microsoft.Maui.Graphics.Size other);
override this.Equals : Microsoft.Maui.Graphics.Size -> bool
Public Function Equals (other As Size) As Boolean

Parameters

other
Size

The size to compare with the current size.

Returns

true if the specified size is equal to the current size; otherwise, false.

Applies to

Equals(Object)

Source:
Size.cs
Source:
Size.cs
Source:
Size.cs

Determines whether the specified object is equal to the current size.

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 with the current size.

Returns

true if the specified object is a Size and has the same width and height as the current size; otherwise, false.

Applies to