System.Variants.VarToWideStrDef

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarToWideStrDef(const V: Variant; const ADefault: WideString): WideString;

C++

extern DELPHI_PACKAGE System::WideString __fastcall VarToWideStrDef(const System::Variant &V, const System::WideString 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 WideString.

VarToWideStrDef converts the data in the variant V to a WideString and returns the result. If the variant has a null value, VarToWideStrDef returns ADefault.

See Also


Code Examples