TimeScaleValues.Add Method

Project Developer Reference

Adds a TimeScaleValue object to TimeScaleValues collection.

Syntax

expression.Add(Value, Position)

expression   A variable that represents a TimeScaleValues object.

Parameters

Name Required/Optional Data Type Description
Value Required Variant The value of the timescaled data.
Position Optional Variant The position of the new value. The default value is n + 1, where n is the number of items in the collection. If the value specified for Position is n + 2 or greater, the intervening items are given a value of 0.

Return Value
TimeScaleValue

See Also