Collection.Equals (gb)

Function Equals ( Collection As Collection ) As Boolean

Seit 3.20

Returns if Collection is equals to the current collection.

Two collections are equal if they have the same number of elements, the same default values, the same keys, and if the associated elements are equals.

Two elements are equals either if:
  • They are the same values or object references.

  • They are two equal arrays.

  • They are two equal collections.

The comparison is done recursively, and may enter an infinite recursion if there are cyclic references.