This documentation is archived and is not being maintained.

Rect.Equals Method

Indicates whether two rectangles are equal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Equals(Object) Indicates whether the specified object is equal to the current rectangle. (Overrides ValueType.Equals(Object).)
Public method Equals(Rect) Indicates whether the specified rectangle is equal to the current rectangle.
Public method Static member Equals(Rect, Rect) Indicates whether the specified rectangles are equal.