طريقة System::Drawing::Color::operator==

Color::operator==(const Color&) const method

تحدد ما إذا كان الكائنان الحالي والمحدد Color يمثلان نفس اللون.

bool System::Drawing::Color::operator==(const Color &r) const
ParameterTypeالوصف
rconst Color&كائن Color للمقارنة مع الكائن الحالي

ReturnValue

صحيح إذا كان كل من الكائن الحالي والكائن المحدد يمثلان نفس اللون، وإلا - خطأ

انظر أيضًا

Color::operator==(const std::nullptr_t&) const method

دائمًا ما تُعيد false.

bool System::Drawing::Color::operator==(const std::nullptr_t &r) const

انظر أيضًا