Hunny Software Library Reference

ByteString.CompareTo Method (Object)

Compares this instance to another object.

[Visual Basic]
NotOverridable Overloads Public Function CompareTo( _
   ByVal other As Object _
) As Integer Implements _
   IComparable.CompareTo
[C#]
public int CompareTo(
   object other
);

Parameters

other
reference to a ByteString instance, or null

Return Value

negative value if this instance precedes the argument in lexical ordering;
positive value if this instance follows the argument in lexical ordering;
zero otherwise

Implements

IComparable.CompareTo

Remarks

The argument must be a reference to a ByteString instance or null. Any other argument causes the method to throw an ArgumentException.

If the argument is null, then the method returns a positive value.

See Also

ByteString Class | Hunny.Base Namespace | ByteString.CompareTo Overload List