Returns a specific member of a collection by name or ordinal number.
collection.Item(Index)
The Item property syntax has the following parts.
Part |
Description |
collection |
The collection from which you wish to return an object. |
Index |
A Variant that evaluates either to the name or to the ordinal number of an object in a collection. |
Returns an object reference.
Use the Item property to return a specific object in a collection. If the property 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 property is the default property for all collections; therefore, the following syntax forms are interchangeable:
collection.Item(Index)
collection(Index)
Note The Item property may not be exposed in all programming environments. If it is not available, you must use the abbreviated syntax above.
Errors, Fields, Parameters, Properties
file: /Techref/language/asp/comp/daprop03_8.htm, 2KB, , updated: 1996/11/21 18:01, local time: 2024/12/25 10:19,
3.133.141.201:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/language/asp/comp/daprop03_8.htm"> Item Property (ADO)</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.