FindCustomVariantType¶
Find a custom variant class on vartype.
Declaration¶
Source position: variants.pp line 265
function FindCustomVariantType(const aVarType: tvartype;
out CustomVariantType: TCustomVariantType)
: Boolean; overload; overload;
function FindCustomVariantType(const TypeName: AnsiString;
out CustomVariantType: TCustomVariantType)
: Boolean; overload; overload;
Description¶
FindCustomVariantType searches the registry of known TCustomVariantType classes and returns the instance registered for the variant type aVarType or the class name TypeName in CustomVariantType if found.
It returns True if it found a matching definition, or False otherwise.
See also¶
| Name | Description |
|---|---|
| TCustomVariantType | Base class for a custom variant type. |