Click or drag to resize

SimpleDataQueuePutLast Method (Double, DateTime)

Store new data element on last 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 PutLast(
	double data,
	DateTime time
)

Parameters

data
Type: SystemDouble
Data element to store.
time
Type: SystemDateTime
User defined time. Note: if time is earlier than last, 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