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

如果当前对象和指定对象表示不同的颜色,则为 true;否则为 false

另见

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

始终返回 true。

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

另见