AddUnit

<< Click to Display Table of Contents >>

 

AddUnit

AddUnit([Name], [UnitAcronym], [Caption])

Adds an Analog Measurement Type Unit object in the collection of Analog Measurement Type Units, returned in the Units property, with the name informed in the Name parameter. If the informed name already exists in that collection, or if it is omitted, it is auto-incremented. Please check the general Name property for more information about the characters allowed in names of objects. This method returns an Analog Measurement Type Unit object if successful. The UnitAcronym parameter indicates an acronym for the Analog Measurement Type Unit. This parameter is optional and, if omitted, configures that acronym as an empty String. The Caption parameter indicates a description for the Analog Measurement Type Unit. This parameter is optional and, if omitted, configures that description as an empty String.

Was this page useful?