TA-Lib : Technical Analysis Library

Timeseries.Item Property

Access by name to variable belonging to this Timeseries.

[C#] In C#, this property is the indexer for the Timeseries class.

[Visual Basic]
Public Default Property Item( _ 
   ByVal variableName As String _ 
) As Variable
[C#]
public Variable this[
   string variableName
] { get; set; }
[C++]
public: __property Variable* get_Item(
   String* variableName
);
public: __property void set_Item(
   String* variableName,
   Variable* newValue
);
[JScript]
returnValue = TimeseriesObject.Item( variableName );
TimeseriesObject.Item( variableName ) = newValue;
-or-
returnValue = TimeseriesObject( variableName );
TimeseriesObject( variableName ) = newValue;

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

See Also

Timeseries Class | TA.Lib Namespace