Returns a session by its index or name.
This is the default property.
Read-only property
Visual Basic |
---|
Public Property Item( _ ByVal index_ As Variant _ ) As CQGSession |
- index_
- Zero-based index of item in the collection
Selected trading session represented as CQGSession Object.
If there are several sessions with the same name as the passed one, the first session with such a name is returned.
See the usage of CQGSessions properties in the CQGInstrument.Sessions' example section.