Click or drag to resize

TimeSeriesDataQueueTItem 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 (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public T this[
	DateTime time
] { get; set; }

Parameters

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

Property Value

Type: T

Implements

IDataQueueTItemDateTime
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