RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataCastToOleStr Method

Performs a cast to a 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 Variant type code of varOleStr (Unicode string). 

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!