Sorted Dictionary Collection - ContainsItem Method
ContainsItem looks for an item in a collection
Member of Sorted Dictionary Collection (PRIM_SDCO)
Parameters
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Boolean |
Result parameter |
Item |
*Input |
Item parameter |
Details
ContainsItem returns True if the reference supplied in the Item parameter is stored the collection.
Example
In this example, a button is shown or hidden based on the result of the ContainsItem method.
#Button.Visible := #Collection.ContainsItem(#Item)