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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!