System::Drawing::Color::Equals method

Color::Equals method

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

bool System::Drawing::Color::Equals(const Color &color) const
ParameterTypeDescription
colorconst Color&The Color object to compare the current object with

ReturnValue

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

See Also