Most collections of objects which are components of GDB or the shared library support access both by name of the object and by its internal number using the Item method. A number of collections do not support access to object by name. Applications need information about continuity of sequence of object internal numbers when they try to get objects by their internal numbers. Most collections do not support continuity of object internal numbers. If a collection supports continuous sequence of object internal numbers, this fact is marked in the collection description. In this case the minimum number of object is always 1 and the maximum number corresponds to the value that the Count property returns. The table below defines possibility of accessing objects by their names and internal numbers.
Collection | Access by name | Access by number |
Impossible | Possible, number continuity | |
Possible | Possible | |
Possible | Possible | |
Possible, see the description of the ExternalDatabase::Tables collection for how to form names | Possible, number continuity, persistence of number until closing an external database. | |
Possible | Possible | |
Impossible | Possible, number continuity | |
Possible | Possible, number continuity | |
Possible | Possible | |
Impossible | Possible, number continuity | |
Possible | Possible | |
Impossible | Possible, number continuity | |
Possible | Possible | |
Possible | Possible only for cataloged external databases | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Impossible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Impossible | Possible | |
Impossible | Possible | |
Impossible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible, labels of series are used as names | Possible, number continuity | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible, number continuity | |
Impossible | Possible, number continuity | |
Impossible | Possible, number continuity | |
Impossible | Possible | |
Possible | Possible, number continuity | |
Possible | Possible | |
Impossible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Possible | Possible | |
Impossible | Possible | |
Possible | Possible | |
Possible | Possible, number continuity, persistence of number until closing an external database. | |
Possible | Possible, number continuity, persistence of number until closing an external database | |
Possible | Possible, number continuity, persistence of number until closing an external database | |
Possible | Possible, number continuity, persistence of number until closing an external database | |
Possible | Possible | |
Impossible | Possible, number continuity | |
Possible | Possible | |
Impossible | Possible, number continuity |