Creating a Class to Enable the Custom Variant Type

From RAD Studio
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