RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant Operators

The operators of the Variant class are listed here.

 
Name 
Description 
 
- 
This is the overview for the - operator overload. 
 
! 
Returns a new System::Variant::Variant that is the logical negation of this System::Variant::Variant
 
!= 
This is the overview for the != operator overload. 
 
% 
This is the overview for the % operator overload. 
 
%= 
Returns this System::Variant::Variant as the remainder from dividing its original value and the System::Variant::Variant specified by rhs. 
 
& 
This is the overview for the & operator overload. 
 
&= 
Returns this System::Variant::Variant after performing a bitwise and operation. 
 
* 
This is the overview for the * operator overload. 
 
*= 
Multiplies this System::Variant::Variant by the System::Variant::Variant specified by rhs. 
 
/ 
This is the overview for the / operator overload. 
 
/= 
 
^ 
This is the overview for the ^ operator overload. 
 
^= 
Returns this System::Variant::Variant after performing a bitwise xor operation. 
 
This is __int64, a member of class Variant. 
 
| 
This is the overview for the | operator overload. 
 
|= 
Returns this System::Variant::Variant after performing a bitwise or operation. 
 
+ 
This is the overview for the + operator overload. 
 
+= 
Adds the System::Variant::Variant specified by rhs to this System::Variant::Variant object. 
 
< 
This is the overview for the < operator overload. 
 
<< 
This is the overview for the << operator overload. 
 
<<= 
Performs a bitwise shl (left shift) operation on this System::Variant::Variant
 
<= 
This is the overview for the <= operator overload. 
 
= 
This is the overview for the = operator overload. 
 
-= 
Subtracts the System::Variant::Variant specified by rhs from this System::Variant::Variant object. 
 
== 
This is the overview for the == operator overload. 
 
> 
This is the overview for the > operator overload. 
 
>= 
This is the overview for the >= operator overload. 
 
>> 
This is the overview for the >> operator overload. 
 
>>= 
Performs a bitwise shr (right shift) operation on this System::Variant::Variant
 
Converts the System::Variant::Variant to an AnsiString object. 
 
bool 
Converts the System::Variant::Variant to a boolean value. 
 
char 
This is char, a member of class Variant. 
 
Converts the System::Variant::Variant to a Currency object. 
 
This is Currency*, a member of class Variant. 
 
Converts the System::Variant::Variant to a double value. 
 
This is double*, a member of class Variant. 
 
Converts the System::Variant::Variant to a float value. 
 
This is float*, a member of class Variant. 
 
Converts the System::Variant to an System::Variant::IDispatch* interface pointer. 
 
This is IInterface*, a member of class Variant. 
 
int 
Converts the System::Variant::Variant to an integer value. 
 
int* 
This is int*, a member of class Variant. 
 
Converts the System::Variant to an System::Variant::IUnknown* interface pointer. 
 
long 
This is long, a member of class Variant. 
 
This is long*, a member of class Variant. 
 
Converts the System::Variant::Variant to a short value. 
 
This is short*, a member of class Variant. 
 
This is signed char, a member of class Variant. 
 
This is signed char*, a member of class Variant. 
 
Converts the System::Variant::Variant to a TDateTime object. 
 
This is TDateTime*, a member of class Variant. 
 
This is UnicodeString, a member of class Variant. 
 
Converts the System::Variant to an unsigned char value. 
 
Converts the System::Variant to an unsigned char value. And returns a reference. 
 
This is unsigned int, a member of class Variant. 
 
This is unsigned int*, a member of class Variant. 
 
This is unsigned long, a member of class Variant. 
 
This is unsigned long*, a member of class Variant. 
 
Converts the System::Variant to an unsigned short value. 
 
Converts the System::Variant to an unsigned short value and returns a reference to the value. 
 
This is WideString, a member of class Variant. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!