Collection - AllowsDuplicates Property

AllowsDuplicates indicates whether the collection allows duplicates

Member of Collection (PRIM_COLL)

Data Type - Boolean

Details

The AllowsDuplicates property determines whether a collection allows the same reference or the same keys to be used.
 
Array and list collections allow any reference to be stored.
 
Dictionary, Keyed collections allow the same reference to be stored, but the key used must be unique.
 
Set collections do not allow the same reference to be stored.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020