RAD Studio VCL Reference
|
Converts the System::Variant::Variant to a TDateTime object.
operator TDateTime;
__fastcall operator TDateTime() const;
The TDateTime conversion System::Variant::TDateTime returns a TDateTime or a reference to a TDateTime that is a conversion of this System::Variant::Variant. If the TDateTime* conversion is used, the System::Variant::TDateTime sets the varByRef bit, meaning that the System::Variant::Variant contains a reference as opposed to a value.
If the conversion operation is not possible because of an invalid variant type conversion, an ESystem::Variant::VariantError exception is thrown.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|