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.

Requirements

Header: atlcomcli.h

See Also

Reference

CComVariant Class

CComVariant::operator ==

Concepts

VARIANT and VARIANTARG Data Types [Automation]

Other Resources

CComVariant Members