RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarToWideStrDef Function

Converts a variant's value to a WideString.

Pascal
function VarToWideStrDef(const V: Variant; const ADefault: WideString): WideString;
C++
BSTR VarToWideStrDef(const Variant V, const BSTR ADefault);

Variants

VarToWideStrDef converts the data in the variant V to a WideString and returns the result. If the variant has a null value, VarToWideStrDef returns ADefault. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!