Value.CompareTo Method

Compares this Value to another object. The other object must either be another instance of Value, or null.

public int CompareTo(object obj)

Parameters

Parameter Description
Object obj The object to compare to.

Return Type

Int32: Returns the same results as CompareTo(Value).

Exceptions

Exception Description
ArgumentException Thrown when obj is not a Value.