RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants Class

TAbstractNamedVariants is the base class for persistent lists of Variant values.

Pascal
TAbstractNamedVariants = class(TPersistent);
C++
class TAbstractNamedVariants : public TPersistent;

Use TAbstractNamedVariants as a base class for objects that represents a set of name/value pairs where the values are all Variants. TAbstractNamedVariants is a descendant of TPersistent, which means that if it is the type of a published property on a component, the named variants list is saved with the component. 

Do not create instances of TAbstractNamedVariants: This class contains abstract or, in C++ terminology, pure virtual methods. Instead, use a descendant of TAbstractNamedVariants such as TNamedVariantsList. TNamedVariantsList provides an implementation for the abstract or pure virtual methods introduced in TAbstractNamedVariants. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!