Equals()

Color::Equals(const Color&) const method

Determines if the current and the specified Color objects represent the same color.

bool System::Drawing::Color::Equals(const Color &color) const

Arguments

ParameterTypeDescription
colorconst Color&The Color object to compare the current object with

Return Value

True if both the current and the specified objects represent the same color, otherwise - false

See Also