Click or drag to resize

HistoryDataQueueTItem Property (DateTime)

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
C#
public virtual T this[
	DateTime time
] { get; }

Parameters

time
Type: SystemDateTime
Returns historically latest element with smaller or equal "time".

Property Value

Type: T
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown 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