Partager via


_variant_t Relational Operators

Microsoft Specific

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

bool operator==( const VARIANT* pSrc ) const throw( _com_error );

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

bool operator!=( const VARIANT* pSrc ) const throw( _com_error );

Parameter

varSrc

a VARIANT to be compared with the _variant_t object

pSrc

pointer to the VARIANT to be compared with the _variant_t object

Remarks

Compares a _variant_t object with a VARIANT, testing for equality or inequality. Returns true if comparison holds, false if not.

_variant_t Overview

END Microsoft Specific