Find a custom variant class on vartype.
Source position: variants.pp line 265
function FindCustomVariantType( |
const aVarType: TVarType; |
out CustomVariantType: TCustomVariantType |
):Boolean; overload; |
const TypeName: AnsiString; |
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. |