RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants.Variants Property

Lists the Variants in the list by position.

Pascal
property Variants [Index: Integer]: Variant;
C++
__property Variant Variants[int Index];

Read Variants to look up the Variant that is stored at a particular position. Set Variants to change the Variant stored in a particular position. 

Index is the position of the Variant in the named Variants list. The value of Index falls in the range from 0 to Count – 1. If you specify a value of Index that is out of range, TAbstractNamedVariants raises an ENamedVariantsError exception. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!