Show: Object Pascal C++
Display Preferences

Creating a Class to Enable the Custom Variant Type

From Appmethod Topics
Jump to: navigation, search

Go Up to Defining Custom Variants Index


Custom variants work by using a special helper class that indicates how variants of the custom type can perform standard operations. You create this helper class by writing a descendant of System.Variants.TCustomVariantType. This involves overriding the appropriate virtual methods of TCustomVariantType.

The following topics provide details on how to implement and use a TCustomVariantType descendant:

See Also

Personal tools
In other languages