Returns a specific member of a Collection object according to position.
[ReturnObject =] Object.Item(Index)
|
Part |
Data type |
Description |
|
Object |
Object |
Required. An object expression that evaluates to an object in the Applies To list. |
|
Index |
Integer |
Required. An expression that specifies the position of a member of the collection. Index must be a number from 1 to the value of the collection's Count property. |
If Object is a FieldDefs object, ReturnObject will be a FieldDef object.
If Object is a Forms object, ReturnObject will be a Form object.
If Object is a Fields object, ReturnObject will be a Field object.
If Object is a FieldChars object, ReturnObject will be a FieldChar object.
If Object is a Sets object, ReturnObject will be a Set object.
An error occurs if the value provided for Index does not match an existing member of the collection.
GetFieldDefNo, GetFormFieldNo, GetFirstForm, GetNextForm, GetFirstFieldChar, GetNextFieldChar, etc.