Creating indexed properties


You can also create indexed properties. Indexed properties are usually implemented as arrays or vectors and enable you to set and get values using an index. Indexed getter and setter methods have a parameter which specifies the index of the element to be read and written.

To create an indexed property in a class source:

Contents Prev Next Index