[C#] In C#, this property is the indexer for the FluidAnalysis 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 = FluidAnalysisObject.Item( Substance ); FluidAnalysisObject.Item( Substance ) = newValue; -or- returnValue = FluidAnalysisObject( Substance ); FluidAnalysisObject( 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.
FluidAnalysis Class | EbsOpen Namespace