Item Property (ADO)
Indicates a specific member of a collection, by name or ordinal number.
Syntax
Set object = collection.Item ( Index )
Return Value
Returns an object reference.
Parameters
Index
A Variant expression that evaluates either to the name or to the ordinal number of an object in a collection.
Remarks
Use the Item property to return a specific object in a collection. If Item 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)
Applies To
Axes Collection (ADO MD)
Columns Collection (ADOX)
CubeDefs Collection (ADO MD)
Dimensions Collection (ADO MD)
Errors Collection (ADO)
Fields Collection (ADO)
Groups Collection (ADOX)
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho