Product Home Page | Developer Site | Version | |
Use the Item method to return a specific object in a collection. If the method cannot find an object in the collection corresponding to the Index argument, an error occurs. Also, some collections don't support named objects; for these collections, you must use ordinal number references.
The Item method is the default method for all collections; therefore, the following syntax forms are interchangeable:
collection.Item (Index)
collection (Index)
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.