Click or drag to resize

TimeSeriesDataQueueTPutFirst Method (T, DateTime)

Store new data element on first position in queue. This method for manual queue. Do not call it for automatic managed queue or single element queue (SingleElement, AutoDynamic, AutoStatic type). Note: Please do not use both with and without DateTime method for one queue instance.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public bool PutFirst(
	T data,
	DateTime time
)

Parameters

data
Type: T
Data element to store.
time
Type: SystemDateTime
User defined time. Note: if first time is earlier than specified, queue will ignore this call.

Return Value

Type: Boolean
Returns true if and only if we succeed to add element.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when you trying to use this method for non ManualControl queue. Or try to use this method after you have already used method without DateTime.
See Also