Attribute.setValue


setValue(varName, value, [row], [units])

Sets 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 is expected, use getValueType If an UnitSet object (or its name) is given, the value will be assumed to be given in those units. Otherwise it will be assumed to be in the database's current unit system. See countRows for a description of the optional row argument.

varNamestringname of the value (e.g. "E")
valuevariant The type given will depend on the value specified
rowoptional integer
unitsoptional IFUnitSet
Return valueIFDispatch

Back to Attribute

Back to Overview