System.Variants.VarToWideStr

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function VarToWideStr(const V: Variant): WideString;

C++

extern DELPHI_PACKAGE System::WideString __fastcall VarToWideStr(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 WideString.

La fonction VarToWideStr convertit les données du variant V en WideString et renvoie le résultat. Si le variant a une valeur nulle, VarToWideStr renvoie une chaîne vide.

Voir aussi