Item
Description
Returns the specified item in the QueryFieldDefs collection.
The argument to this method can be either a numeric index (itemNum) or a String (name):
- There are two separate methods:
- Item, which takes a numerical index argument
- ItemByName, which takes a string name argument
Syntax
Perl
$queryfielddefs->Item(itemNum);
$queryfielddefs->ItemByName(itemName);
- Identifier
- Description
- queryfielddefs
- A QueryFieldDefs collection object, representing the set of QueryFieldDef objects available for fetching as a collection.
- itemNum
- A Long that serves as an index into the collection. This index is 0-based so the first item in the collection is numbered 0, not 1.
- itemName
- A String that serves as a key into the collection.
- Return value
- The QueryFieldDef object at the specified location in the collection.