System.Variants.VarToWideStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarToWideStr(const V: Variant): WideString;

C++

extern DELPHI_PACKAGE System::WideString __fastcall VarToWideStr(const System::Variant &V);

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.

VarToWideStr converts the data in the variant V to a WideString and returns the result. If the variant has a null value, VarToWideStr returns the value of the NullAsStringValue.

See Also


Code Examples