_variant_t Relational Operators
Microsoft Specific
Compare two _variant_t
objects for equality or inequality.
Syntax
bool operator==(
const VARIANT& varSrc) const;
bool operator==(
const VARIANT* pSrc) const;
bool operator!=(
const VARIANT& varSrc) const;
bool operator!=(
const VARIANT* pSrc) const;
Parameters
varSrc
A VARIANT
to be compared with the _variant_t
object.
pSrc
Pointer to the VARIANT
to be compared with the _variant_t
object.
Return Value
Returns true
if comparison holds, false
if not.
Remarks
Compares a _variant_t
object with a VARIANT
, testing for equality or inequality.
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for