RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarToWideStr Function

Converts a variant's value to a WideString.

Pascal
function VarToWideStr(const V: Variant): WideString;
C++
BSTR VarToWideStr(const Variant V);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!