EbsOpen Class Library for EBSILON®Professional

EbsMatrix.ValueVariant Property

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

[Visual Basic]
Public Default Property ValueVariant( _ 
   ByVal IndexX As Integer, _ 
   ByVal IndexY As Integer _ 
) As Object
[C#]
public object this[
   int IndexX,
   int IndexY
] { get; set; }
[C++]
public: __property Object* get_ValueVariant(
   int IndexX,
   int IndexY
);
public: __property void set_ValueVariant(
   int IndexX,
   int IndexY,
   Object* newValue
);
[JScript]
returnValue = EbsMatrixObject.Item( IndexXIndexY );
EbsMatrixObject.Item( IndexXIndexY ) = newValue;
-or-
returnValue = EbsMatrixObject( IndexXIndexY );
EbsMatrixObject( IndexXIndexY ) = 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

EbsMatrix Class | EbsOpen Namespace