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

Glossary Item Box

Description

Returns the CQGSessions object by its index.

This is the default property.

Property type

Read-only property

Syntax

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

Parameters

index_
Zero-based index of item in the collection

Return Type

Sessions represented as CQGSessions object

Remarks

Calling with an incorrect index type, number, an empty or custom session's non-existent name will throw a collection exception.

Example

See the usage of CQGSessionsCollection properties in the CustomSessionsResolved event's example section.

See Also