Returns the selected position by its instrument full name.
This is the default property.
Read-only property
Visual Basic |
---|
Public Property Item( _ ByVal instrument_name As String _ ) As CQGPosition |
- instrument_name
If the position exists in the collection, this property returns the selected position 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 the usage of CQGPositions properties in the AccountChanged event's example section.