RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataFromStr Method

Creates a TVarData record to represent a string.

Pascal
procedure VarDataFromStr(var V: TVarData; const Value: string);
C++
__fastcall VarDataFromStr(TVarData V, const AnsiString Value);

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

V is the TVarData record to be filled out. 

Value is a string that becomes the value of V. 

 

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