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
Public property Count int Gets the number of objects in the collection.
Public property IsReadOnly bool True if the collection is read-only.
Public property Item[index] object Gets the OrderTicketBase object at the specified index.
Methods
  Name Description
Public property Add(ticket) Adds an OrderTicketBase item to the list.
Public property Clear Removes all IDs from the list.
Public property Contains(ticket) True if the list contains the specified OrderTicketBase item.
Public property IndexOf(ticket) Get the index of the specified OrderTicketBase in the collection.
Public property Insert(index,ticket) Inserts an OrderTicketBase item after the specified index position.
Public property Remove(ticket) Removes the first occurrence of the specified OrderTicketBase object from the list.
Public property RemoveAt(index) Removes item from the list at a specified index position.
Operators
  Name Description
Public Method += Used in an expression to add an OrderTicket to the collection.
Public Method -= Used in an expression to remove an OrderTicket from the collection.
Inheritance Hierarchy

elsystem.Object

tsdata.trading.OrderTicketCollection