Compares the contents of two collections.
function CollectionsEqual(C1: TCollection; C2: TCollection; Owner1: TComponent; Owner2: TComponent): Boolean;
Boolean CollectionsEqual(TCollection C1, TCollection C2, TComponent * Owner1, TComponent * Owner2);
Classes
Call CollectionsEqual to determine whether two collections contain identical information. CollectionsEqual returns true if all the items in each collection have the same settings, and the items appear in the same order. CollectionsEqual returns false if the collections differ in number or order of items, or if any of the items in the collections differ.
C1 and C2 are the collections to compare.
Owner1 and Owner2 are the Owners of the collections. Owner1 and Owner2 must be "root" components, such as forms or data modules. They are used for resolving name references in the properties of the collections.
CompareMem
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|