Share via


UnitOfMeasure::isUnitOfClass Method

Indicates whether the unit of measure is of the specified class of units.

Syntax

client server public static boolean isUnitOfClass(
    UnitOfMeasureRecId _unitOfMeasure, 
    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 specified class; otherwise, false.

See Also

Reference

UnitOfMeasure Table