| title | _variant_t Relational Operators | Microsoft Docs | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||
| ms.date | 11/04/2016 | |||||||||
| ms.technology |
|
|||||||||
| ms.topic | language-reference | |||||||||
| f1_keywords |
|
|||||||||
| dev_langs |
|
|||||||||
| helpviewer_keywords |
|
|||||||||
| ms.assetid | 141bacb8-41a2-44dd-b3c0-4ad1f884f4ea | |||||||||
| author | mikeblome | |||||||||
| ms.author | mblome | |||||||||
| ms.workload |
|
Microsoft Specific
Compare two _variant_t objects for equality or inequality.
bool operator==(
const VARIANT& varSrc
) const;
bool operator==(
const VARIANT* pSrc
) const;
bool operator!=(
const VARIANT& varSrc
) const;
bool operator!=(
const VARIANT* pSrc
) const;
varSrc
A VARIANT to be compared with the _variant_t object.
pSrc
Pointer to the VARIANT to be compared with the _variant_t object.
Returns true if comparison holds, false if not.
Compares a _variant_t object with a VARIANT, testing for equality or inequality.
END Microsoft Specific