Compartir a través de


EcoResEnumerationAttributeTypeValue.compareTo Method

Compares the position of this record with the position of the specified record enumeration domain value.

Syntax

public int compareTo(EcoResEnumerationAttributeTypeValue _enumAttributeTypeValue)

Run On

Called

Parameters

Return Value

Type: int
-1 if the position of this record is less than the position of the given record enumeration domain value; 0 if the positions are the same; 1 if the position of this record is larger than the position of the given record enumeration domain value.

Exceptions

Exception Condition
Error

This record and the given record are not comparable as they do not belong in the same domain.

Remarks

To compare the actual values and not the positions, use the compareTo method on the values that are stored in the Value fields.

See Also

Reference

EcoResEnumerationAttributeTypeValue Table