pmMDA.NET

ReferenceCodeImpl.CompareTo Method 

[This is preliminary documentation and subject to change.]

Compares this reference code with an other reference code.

public int CompareTo(
   object obj
);

Parameters

obj
A reference code to compare this code to.

Return Value

1 If the Code of this reference code is greather than the Code of the obj. -1 If this Code is smaller then than the obj.Code. If the two Codes are equal 0 is returned.

Implements

IComparable.CompareTo

Exceptions

Exception Type Condition
InvalidCastException The obj is not from the same type as this reference code.

See Also

ReferenceCodeImpl Class | PmMda.Net.Dog.Reference Namespace