HexBinary.CompareTo MethodHexBinary.CompareTo MethodHexBinary::CompareTo Method

Compares the current HexBinaryHexBinaryHexBinary with another HexBinaryHexBinaryHexBinary of the same type.

Syntax

Public Function CompareTo( _
    other As HexBinary _
) As Integer
public int CompareTo(
    HexBinary other
)
public:
virtual int CompareTo(
    HexBinary other
) sealed
 

Return Value

Type: System.Int32System.Int32System::Int32

A value that indicates the relative order of the objects being compared. The return value has the following meanings:

  • Less than zero indicates that the current instance is less than other.
  • Zero indicates that the current instance is equal to other.
  • Greater than zero indicates that the current instance is greater than other.