HistoryMultipleDataQueueTItem Property (DateTime, Int32) |
Return historically latest element with smaller or equal DateTime.
Note: do not try to use this method if you didn't specify DateTime to data elements.
Namespace:
FinAnalysis.Base
Assembly:
FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public virtual T this[
DateTime time,
int valueIndex
] { get; }
Parameters
- time
- Type: SystemDateTime
Returns historically latest element with smaller or equal "time". - valueIndex
- Type: SystemInt32
Index of value.
Property Value
Type:
TExceptions Exception | Condition |
---|
InvalidOperationException | Thrown when you trying to use this method for single element queue.
Or try to use this method before adding at least one element.
Or if you didn't specify DateTime for data elements. |
See Also