Share via


SizeHelper.Equals(Size, Size) Method

Definition

Provides comparison of the values of two Size values. C# code should use the Equality (=) operator or Equals method instead.

public:
 static bool Equals(Size target, Size value);
 static bool Equals(Size const& target, Size const& value);
public static bool Equals(Size target, Size value);
function equals(target, value)
Public Shared Function Equals (target As Size, value As Size) As Boolean

Parameters

target
Size

The first Size to compare.

value
Size

The second Size to compare.

Returns

Boolean

bool

true if target and value hold equivalent values; otherwise, false.

Applies to

See also