![]()
A signed number that indicates the relative values of this instance and target.
Less than zero The value of this instance is less than the value of target.
Zero The value of this instance is equal to the value of target.
Greater than zero The value of this instance is greater than the value of target.
-or-
target is null.
Type Reason ArgumentException target and the current instance are not of the same enumeration type.