Size.Equals Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Equals(Object) |
Compares an object to an instance of Size for equality. |
Equals(Size) |
Compares a value to an instance of Size for equality. |
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.
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
The object to compare.
Returns
true
if o
is a Size value and the sizes of the two objects are equal; otherwise, false
.
Applies to
UWP 10.0
Product | Versions |
---|---|
UWP | 10.0 |
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
Returns
true
if the instances of Size are equal; otherwise, false
.
Applies to
UWP 10.0
Product | Versions |
---|---|
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: