Freigeben über


CComVariant::operator ==

Indicates whether the CComVariant object equals the specified VARIANT.

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

Remarks

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

See Also

Reference

CComVariant Class

CComVariant::operator !=