System.OleVariant.operator ==
C++
bool operator ==(const OleVariant& rhs) const {
bool operator ==(const char* rhs) const {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysvari.h | System | OleVariant |
Description
Compares the Variant with another value, testing for equality.
System.OleVariant.operator == inherits from System.Variant.operator ==. All content below this line refers to System.Variant.operator ==.
Compares the Variant with another value, testing for equality.
The operator == returns True if the Variant's value is the same as the value specified by rhs, False otherwise. If the comparison is not possible because of an invalid variant type conversion, an EVariantError exception is thrown.