RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataCastToOleStr Method

Performs a cast to a System::Variant type of varOleStr.

Pascal
procedure VarDataCastToOleStr(var Dest: TVarData);
C++
__fastcall VarDataCastToOleStr(TVarData Dest);

Call VarDataCastToOleStr from the implementation of a TCustomVariantType descendant to perform casts to a TVarData record with System::Variant type code of varOleStr (Unicode string). 

Dest is the TVarData record of a System::Variant, and returns the result of the cast. 

 

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