Show: Delphi C++
Display Preferences

System.Variants.VarToStr

From XE2 API Documentation
Jump to: navigation, search

Delphi

function VarToStr(const V: Variant): string;

C++

extern PACKAGE System::UnicodeString __fastcall VarToStr(const System::Variant &V);

Contents

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.

VarToStr converts the data in the variant V to a string and returns the result. If the variant has a null value, VarToStr returns an empty string.

See Also


Code Examples

Personal tools
Previous Versions
Translations