RAD Studio VCL Reference
|
Performs a cast from one System::Variant type to another.
Call VarDataCastTo from the implementation of a TCustomVariantType descendant to perform casts on the data from one System::Variant type to another. Do not use VarDataCastTo as the entire implementation of the CastTo method, as this will lead to a circular reference.
Dest returns the result of the cast. If VarDataCastTo is called with no Source parameter, it also provides the source data to be cast.
Source is the TVarData record to be cast.
VarType is the type code of the System::Variant type to which the data should be cast.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|