Index Method (Engine Object Model)
Returns a command from the Commands, EndCommands, Parameters, QueryCommands, and UserInputs collection by ordered position.
Applies To
Syntax
Set objItem = Collection.Index(n)
Set objItem = Collection(n)
Parts
objItem
An
Collection
An object variable that may represent the Commands collection object, EndCommands collection object, Parameters collection object, QueryCommands collection object, UserInputs collection object, QBEntity collection object; QBRelationship collection object; or Templates collection object.
(n)
An
Remarks
The index is zero-based.