CComCurrency::operator! =

此运算符比较不相等的两个对象。

bool operator !=(
   const CComCurrency & cur 
) const;

参数

  • cur
    要比较的 CComCurrency 对象。

返回值

如果比较的项与 CComCurrency 对象,而不是相等的返回 true ;否则,false

示例

CComCurrency cur1(10, 5000), cur2(10, 5001);
ATLASSERT(cur1 != cur2);   

要求

Header: atlcur.h

请参见

参考

CComCurrency选件类

CComCurrency::operator ==