UnitOfMeasure.belongsToUnitOfMeasureClass Method

Indicates whether the current unit is of a specific class of unit of measure.

Syntax

public boolean belongsToUnitOfMeasureClass(UnitOfMeasureClass _unitOfMeasureClass, [boolean _silent])

Run On

Called

Parameters

  • _silent
    Type: boolean
    Indicates whether error messages should be suppressed.

Return Value

Type: boolean
true if the unit is of the required class; otherwise false.

See Also

Reference

UnitOfMeasure Table