RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::>> Operator (AnsiString&)

Returns a new System::Variant that is the result of a shr (right shift) operation on this System::Variant.

Pascal
operator >>(const rhs: Variant&);
operator >>(const rhs: AnsiString&);
operator >>(rhs: Integer);
operator >>(rhs: double);
C++
__fastcall Variant operator >>(const Variant& rhs) const;
__fastcall Variant operator >>(const AnsiString& rhs) const;
__fastcall Variant operator >>(int rhs) const;
__fastcall Variant operator >>(double rhs) const;

The >> operator returns a new System::Variant that is the result of a shr (right shift) operation, shifting by the number of bits specified by rhs. 

If the operation is not possible because of an invalid variant type conversion, an EVariantError exception is thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!