System.Variants.VarToStrDef
Delphi
function VarToStrDef(const V: Variant; const ADefault: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall VarToStrDef(const System::Variant &V, const System::UnicodeString ADefault);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Converts a variant's value to a string.
VarToStrDef converts the data in the variant V to a string and returns the result. If the variant has a null value, VarToStrDef returns ADefault.
See Also