Size.Equals Method
Definition
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.
Overloads
Equals(Object) |
Compares an object to an instance of Size for equality. |
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)
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
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
Returns
true
if the instances of Size are equal; otherwise, false
.
Applies to
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за