Attribute.getValue


getValue(varName, [row], [units])

Returns the value of a named variable within this attribute In order to find the list of valid named variables, use getValueNames. In order to find out what type of variable will be returned, use getValueType If an UnitSet object (or its name) is given, the value will be returned in those units. Otherwise it will be returned in the the database's current unit system. See countRows for a description of the optional row argument.

The returned value will be of a type appropriate to the variable being requested. It could be an object, a real number, a variation, a string, an integer etc, or an array of any of these.

varNamestring
rowoptional integer
unitsoptional IFUnitSet
Return valuevariant The type returned will depend on the value requested

Back to Attribute

Back to Overview