VarTypeAsText¶
Return a textual description of the variant type.
Declaration¶
Source position: variants.pp line 322
function VarTypeAsText(const AType: tvartype) : AnsiString;
Arguments¶
| Name | Description |
|---|---|
| AType | Type for which to get description. |
Function result¶
Textual description of the type.
Description¶
VarTypeAsText returns a textual description of the variant type aType. It is used in all exception raising routines to describe types, if a type is provided. For custom variant types, the name of the class is returned.
See also¶
| Name | Description |
|---|---|
| VarOpAsText | Names of operations. |