Size.Equals Size.Equals Size.Equals Size.Equals Method

Definition

Overloads

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

Compares an object to an instance of Size for equality.

Equals(Size) Equals(Size) Equals(Size) Equals(Size)

Compares a value to an instance of Size for equality.

Remarks

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

For more information about this member, see Size.Equals in the .NET Framework API reference.

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

Compares an object to an instance of Size for equality.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
Object Object Object Object

The object to compare.

Returns

true if o is a Size value and the sizes of the two objects are equal; otherwise, false.

Equals(Size) Equals(Size) Equals(Size) Equals(Size)

Compares a value to an instance of Size for equality.

public:
 bool Equals(Windows::Foundation::Size value);
public bool Equals (Windows.Foundation.Size value);
override this.Equals : Windows.Foundation.Size -> bool
Public Function Equals (value As Size) As Boolean

Parameters

value
Size Size Size Size

The size to compare to this current instance of Size.

Returns

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

Applies to