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

Glossary Item Box

Description

Returns the selected instrument name from the collection.

This is the default property.

Property type

Read-only property

Syntax

Visual Basic
Public Property Item( _
   ByVal index_ As Long _
) As String

Parameters

index_
Zero-based index of item in the collection

Return Type

Corresponding collection item represented as String.

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

Example

See the usage of CQGCommodityInstruments Collection in CommodityInstrumentsResolved Example.

See Also