Find the number of occurrences of an instance in the collection
Member of Array Collection (PRIM_ACOL)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Integer | Number of occurrences |
Object | *Input | PRIM_OBJT | Instance to be searched for |
OccurrencesOf returns a count of the number of times the reference specified in the Object parameter is stored in the collection.
Using the OccurrencesOf method
#Count := #Collection.OccurrencesOf(#Object)
Febuary 18 V14SP2