Compares this instance to a specified object and returns an indication of their relative values.
Declaration Syntax
Parameters
- obj (Object)
- An object to compare, or null.
Return Value
A signed number indicating the relative values of this instance and value. Returns less than zero
if this instance is less than value, zero if this instance is equal to value, or greater than zero
if this instance is greater than value.
Exceptions
Exception | Condition |
---|---|
ArgumentException | value is not an IChannelDefinition. |