Click or drag to resize

TimeSeriesDataQueueTPutFirst Method (T)

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
)

Parameters

data
Type: T
Data element to store.

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 with DateTime.
See Also