Megosztás a következőn keresztül:


RectHelper.Equals(Rect, Rect) Method

Definition

Provides comparison of the values of two Rect values. C# and Microsoft Visual Basic code should use the Equality (=) operator or Equals method instead.

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

Parameters

target
Rect

The first Rect to compare.

value
Rect

The second Rect to compare.

Returns

Boolean

bool

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

Applies to

See also