Rows Collection Property: Item 

Purpose

Retrieves a Row from the Rows collection.

Description

The parameter vaWhichItem describes the element to be returned. The following variant data types for arWhichItem are legal:

Type

Description

VT_BSTR, VT_LPCSTR, VT_LPWSTR

VT_BSTR *, VT_LPCST *, VT_LPWSTR *

The Row object with the key value vaWhatItem is returned. If no key column is defined, vaWhichItem is converted to an integer value and used as index into the collection.

See Defining a Key Column for a Table.

Any type convertible to a VT_I4.

The parameter vaWhichItem is converted to an integer value and used as index into the collection.