Equals()

Rectangle::Equals(const Rectangle&) const method

Determines if the rectangles represented by the current and the specified objects are identical.

bool System::Drawing::Rectangle::Equals(const Rectangle &rect) const

Arguments

ParameterTypeDescription
rectconst Rectangle&The Rectangle object to compare the current object with

Return Value

True if the rectangles represented by the current and the specified objects are identical, otherwise - false

See Also