[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find a custom variant class on vartype
Source position: variants.pp line 258
function FindCustomVariantType( |
const aVarType: tvartype; |
out CustomVariantType: TCustomVariantType |
):Boolean; overload; |
const TypeName: string; |
out CustomVariantType: TCustomVariantType |
):Boolean; overload; |
aVarType |
|
Variant type to look for |
CustomVariantType |
|
Instance of TCustomVariantType that handles aVarType. |
True if a matching entry was found, False if not
TypeName |
|
Type name to look for |
CustomVariantType |
|
Instance of TCustomVariantType that handles aVarType. |
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.
|
Base class for a custom variant type |