RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataFromOleStr Method

Creates a TVarData record to represent a Unicode string.

Pascal
procedure VarDataFromOleStr(var V: TVarData; const Value: WideString);
C++
__fastcall VarDataFromOleStr(TVarData V, const BSTR Value);

Call VarDataCopy from the implementation of a TCustomVariantType descendant to fill out a TVarData record so that it represents a specified Unicode string.  

V is the TVarData record to be filled out. 

Value is a Unicode string that becomes the value of V. 

 

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