Hunny Software Library Reference

ByteString.CompareTo Method (ByteString)

Compares this instance to another instance.

[Visual Basic]
Overloads Public Function CompareTo( _
   ByVal str As ByteString _
) As Integer
[C#]
public int CompareTo(
   ByteString str
);

Parameters

str
other ByteString to compare to this instance

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

Remarks

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

See Also

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