RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarIsStr Function

Indicates whether the specified variant represents a string value.

Pascal
function VarIsStr(const V: Variant): Boolean;
C++
Boolean VarIsStr(const Variant V);

Variants

VarIsStr returns true if the given variant's type code is varString or varOleStr. If the variant contains any other type of value, the function result is false. 

 

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