RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants.Equals Method

Compares this named Variants list with another one.

Pascal
function Equals(ANamedVariants: TAbstractNamedVariants): Boolean;
C++
__fastcall Boolean Equals(TAbstractNamedVariants ANamedVariants);

Call Equals to determine whether another named Variants list contains the same name/Variant pairs as this one. 

ANamedVariants is the named Variants list to compare to this one. 

Equals returns true if every entry in ANamedVariants has the same name and Variant value as the corresponding entry in this list. Equals returns false if ANamedVariants has a different number of entries, if its entries appear in a different order, or if it contains different entries. 

Equals considers two name to be the same if they differ only by case. 

 

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