Compares this object to o.
Declaration Syntax
Parameters
- o (Object)
- An object for comparison.
Return Value
Negative int if this is less than o, 0 if
they are equal, and a positive int if this is greater than
o.
Remarks
Casts o as Property and returns
a negative int if this is less than o, zero
if they are the same, and a positive int if this is greater
than o.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | o can't be cast as a Property.
|