Indicates whether the specified variant is an error variant; optionally converts variant back to HRESULT.
function VarIsError(const V: Variant; out AResult: HRESULT): Boolean; overload; function VarIsError(const V: Variant): Boolean; overload;
Boolean VarIsError(const Variant V, HRESULT AResult); Boolean VarIsError(const Variant V);
Variants
VarIsError returns true if the given variant is an Error variant (type varError). If AResult is specified, it is set to the corresponding result code.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|