Afficher : Delphi
C++
Préférences d'affichage
System.Variants.VarToStr
De XE2 API Documentation
Delphi
function VarToStr(const V: Variant): string;
C++
extern PACKAGE System::UnicodeString __fastcall VarToStr(const System::Variant &V);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Convertit la valeur d'un variant en chaîne.
La fonction VarToStr convertit les données du variant V en une chaîne et renvoie le résultat. Si le variant a une valeur nulle, VarToStr renvoie une chaîne vide.