WebContnrs.TAbstractNamedVariants.Equals
From RAD Studio API Documentation
Delphi
function Equals(ANamedVariants: TAbstractNamedVariants): Boolean; reintroduce;
C++
HIDESBASE bool __fastcall Equals(TAbstractNamedVariants* ANamedVariants);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | WebContnrs.pas WebContnrs.hpp |
WebContnrs | TAbstractNamedVariants |
Description
Compares this named Variants list with another one.
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.