Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComVariant::operator ==

 

Indicates whether the CComVariant object equals the specified VARIANT.


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

Returns true if the value and type of varSrc are equal to the value and 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

Show: