UnitInfo Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Constructors == | == Constructors == | ||
*[[UnitInfo Constructors|UnitInfo( Integer, String, String, Double )]] {{APIComment| | *[[UnitInfo Constructors|UnitInfo( Integer, String, String, Double )]] {{APIComment|{{Template:UnitInfo Constructors.Cmt}}}} | ||
== Properties == | == Properties == |
Revision as of 23:52, 27 February 2014
Used with Repository.GetAllUnits to describe a unit of measurement that has been defined in the current repository. In Synthesis desktop applications, these units are shown in the Manage Units window.
Constructors
- UnitInfo( Integer, String, String, Double ) Creates a new UnitInfo object to store the properties of a defined unit of measurement. This is automatically called by Repository.GetAllUnits.
Properties
- ID (as integer) The ID of the Unit.
- Name (as string) The Name of the Unit.
- Abbreviation (as string) The Abbreviation of the Unit.
- Multiplier (as double) The Multiplier of the Unit.