다음을 통해 공유


CComVariant::operator !=

Indicates whether the CComVariant object does not equal the specified VARIANT.

bool operator !=( 
   const VARIANT& varSrc  
) const throw();

Remarks

Returns true if either the value or type of varSrc is not equal to the value or type, respectively, of the CComVariant object. Otherwise, false. The operator uses the user's default locale to perform the comparison.

The operator compares only the value of the variant types. It compares strings, integers, and floating points, but not arrays or records.

Requirements

Header: atlcomcli.h

See Also

Reference

CComVariant Class

CComVariant::operator ==

Other Resources

VARIANT and VARIANTARG Data Types [Automation]