FindCustomVariantType
Find a custom variant class on vartype
Declaration
Source position: variants.pp line 258
function FindCustomVariantType(const aVarType: tvartype;
out CustomVariantType: TCustomVariantType)
: Boolean; Overload;
function FindCustomVariantType(const TypeName: string;
out CustomVariantType: TCustomVariantType)
: Boolean; 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 |