OrderTicketCollection Class
Defines the structure for a collection of OrderTicketBase objects.
Namespace: tsdata.trading
Properties
Additional
properties, methods, and events are described in the classes listed
under Inheritance Hierarchy (see below).
| Name | Type | Description | |
|
|
Count | int | Gets the number of objects in the collection. |
|
|
IsReadOnly | bool | True if the collection is read-only. |
|
|
Item[index] | object | Gets the OrderTicketBase object at the specified index. |
Methods
| Name | Description | |
|
|
Add(ticket) | Adds an OrderTicketBase item to the list. |
|
|
Clear | Removes all IDs from the list. |
|
|
Contains(ticket) | True if the list contains the specified OrderTicketBase item. |
|
|
IndexOf(ticket) | Get the index of the specified OrderTicketBase in the collection. |
|
|
Insert(index,ticket) | Inserts an OrderTicketBase item after the specified index position. |
|
|
Remove(ticket) | Removes the first occurrence of the specified OrderTicketBase object from the list. |
|
|
RemoveAt(index) | Removes item from the list at a specified index position. |
Operators
| Name | Description | |
|
|
+= | Used in an expression to add an OrderTicket to the collection. |
|
|
-= | Used in an expression to remove an OrderTicket from the collection. |
Inheritance Hierarchy
tsdata.trading.OrderTicketCollection