CQG API 4.0 - Revised
Item Property
See Also  Send Feedback
index_
Zero-based index of item in the collection
CQGInstruments Collection : Item Property

Glossary Item Box

Description

Returns the selected instrument from the collection.

This is the default property.

Property type

Read-only property

Syntax

Visual Basic
Public Property Item( _
   ByVal index_ As Variant _
) As CQGInstrument

Parameters

index_
Zero-based index of item in the collection

Return Type

The corresponding collection item represented as CQGInstrument Object.

If the accessed item does not exist, see Accessing non-existent collection items to learn more about the return type.

Example

For the usage of the Instruments collection, see the example section of the CQGCEL Instruments Property.

See Also