EbsOpen Class Library for EBSILON®Professional

FluidData.Substance Property

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

[Visual Basic]
Public Default Property Substance( _ 
   ByVal Substance As EpSubstance _ 
) As Double
[C#]
public double this[
   EpSubstance Substance
] { get; set; }
[C++]
public: __property double get_Substance(
   EpSubstance Substance
);
public: __property void set_Substance(
   EpSubstance Substance,
   double newValue
);
[JScript]
returnValue = FluidDataObject.Item( Substance );
FluidDataObject.Item( Substance ) = newValue;
-or-
returnValue = FluidDataObject( Substance );
FluidDataObject( Substance ) = 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

FluidData Class | EbsOpen Namespace