System.OleVariant.operator >

From RAD Studio API Documentation
Jump to: navigation, search

C++

bool __fastcall operator >(const OleVariant& rhs) const {
bool __fastcall operator > (const char* rhs) const {

Properties

Type Visibility Source Unit Parent
function public sysvari.h System OleVariant

Description

Tests whether the Variant's value is greater than a specified value.

System.OleVariant.operator > inherits from System.Variant.operator >. All content below this line refers to System.Variant.operator >.

Tests whether the Variant's value is greater than a specified value.

The operator > returns True if the Variant's value is greater than 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.