Returns the number of elements contained in the collection.

Note for HashMap collections, this is the number of key-value pairs.

Data type: INTEGER

Access: PUBLIC Read-only

Applies to: Progress.Collections.List<T> class, Progress.Collections.SortedSet<T> class, Progress.Collections.HashMap<K,V> class, Progress.Collections.KeySet<K> class

Example

For a code example showing Count for a list, see Progress.Collections.List<T> class.

For an code example showing Count for a sorted set, see Progress.Collections.SortedSet<T> class.

See also

<T> Generic type reference