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

Glossary Item Box

Description

Returns the position by its index.

Property type

Read-only property

Syntax

Visual Basic
Public Property ItemByIndex( _
   ByVal index_ As Long _
) As CQGPosition

Parameters

index_
Zero-based index of item in the collection

Return Type

The corresponding position in the collection, represented as CQGPosition object.

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

See Also