ByteCompareTo Method (Object) |
Compares this instance to a specified object and returns an indication of their relative values.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public int CompareTo(
Object value
)
Parameters
- value
- Type: SystemObject
An object to compare, or null.
Return Value
Type:
Int32A signed integer that indicates the relative order of this instance and
value.Return Value Description Less than zero This instance is less than
value. Zero This instance is equal to
value. Greater than zero This instance is greater than
value.-or-
value is null.
Exceptions See Also