Understanding automation : What are the main elements of automation? : What is a collection? |
A collection is similar to an array of objects; it is an object that contains a group of objects that are similar in type. These objects share the same properties, methods, and events, and they are uniquely identified within the collection by their index number or their name. Collection objects act in the same manner and are always plural.
For example, Documents
represent the Documents collection class in the software program. However, Documents.Item (1)
references the first Document object in that collection.
Copyright 2013 Corel Corporation. All rights reserved.