IMsUnitInfo.Unit

Syntax

Unit: Integer;

Description

The Unit  property returns index of unit.

Comments

The Unit index corresponds with the element index in the measures and units dictionary. The dictionary is returned by the IMsUnitInfo.UnitsDimension property.

If Unit returns -1, the unit is not determined.

Example

The property use is given in the example for IMsUnitInfo.BaseUnit.

See also:

IMsUnitInfo