Export (0) Print
Expand All

CComVariant::operator !=

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

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

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.

Header: atlcomcli.h

© 2014 Microsoft