EbsOpen Class Library for EBSILON®Professional

TimeSeries.TableDataMarshalArrayAsVariant Property

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

[Visual Basic]
Public Default Property TableDataMarshalArrayAsVariant( _ 
   Optional ByVal Range As String = """" _ 
) As Object
[C#]
public object this[
   string Range
] { get; set; }
[C++]
public: __property Object* get_TableDataMarshalArrayAsVariant(
   String* Range
);
public: __property void set_TableDataMarshalArrayAsVariant(
   String* Range,
   Object* newValue
);
[JScript]
returnValue = TimeSeriesObject.Item( Range );
TimeSeriesObject.Item( Range ) = newValue;
-or-
returnValue = TimeSeriesObject( Range );
TimeSeriesObject( Range ) = 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.

Remarks

Reading: returns (Rows,Columns)-matrix of VARIANTs; use Excels 'A1:B5'-style to specify the range, leave out values to refer to start of / end of / whole rows (resp. columns), use empty-string to specify whole sheet
Writing: sets (Rows,Columns)-matrix of VARIANTs; use Excels 'A1:B5'-style to specify the range, leave out values to refer to start of / end of / whole rows (resp. columns), use empty-string to specify whole sheet

See Also

TimeSeries Class | EbsOpen Namespace