CQG API 4.0 - Revised
Item Property
See Also  Send Feedback
gw_account_id
CQG Gateway account identifier
CQGAccounts Collection : Item Property

Glossary Item Box

Description

Returns the selected account from the collection.

This is the default property.

Property type

Read-only property

Syntax

Visual Basic
Public Property Item( _
   ByVal gw_account_id As Long _
) As CQGAccount

Parameters

gw_account_id
CQG Gateway account identifier

Return Type

If the account exists in the collection, this property returns the selected account represented as CQGAccount object.

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 CQGAccounts' properties in the AccountChanged event's example section.

See Also