Columns Collection Method: Item 
Purpose
Retrieves a
Column object from the Columns collection.Syntax
The Item method has the syntax:
Item(vaWhichItem)
Description
The parameter vaWhichItem tells describes the element to be returned. The following variant data types for vaWhichItem are legal:
Type |
Description |
VT_BSTR, VT_LPCSTR, VT_LPWSTR VT_BSTR *, VT_LPCST *, VT_LPWSTR * |
The column with the name vaWhichItem is returned. If the name is undefined, vaWhichItem is converted to an integer value and used as an index into the collection. |
Any type convertible to a VT_I4. |
The parameter vaWhichItem is converted to an integer value and used as index into the collection. |