Share via


EcoResBooleanValue.compareTo Method

Compares this record against the given record value.

Syntax

public int compareTo(EcoResValue _value)

Run On

Called

Parameters

  • _value
    Type: EcoResValue Table
    The value definition that contains the Boolean value to compare this record to.

Return Value

Type: int
-1 if the Boolean value in this record is false and the Boolean value in the given record is true; 0 if the Boolean values are identical; 1 if the Boolean value in this record is true and the Boolean value in the given record is false.

Exceptions

Exception Condition
Error

This record and the given record are not comparable because they are not of the same type.

See Also

Reference

EcoResBooleanValue Table