IComparable interface implementation. Compare class contents with contents of the byte array.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public int CompareTo(
	byte[] other
)
Visual Basic
Public Function CompareTo ( _
	other As Byte() _
) As Integer
Visual C++
public:
virtual int CompareTo(
	array<unsigned char>^ other
) sealed

Parameters

other
Type: array<System..::..Byte>[]()[][]
Byte array to compare against

Return Value

-1 if class value is greater (longer or higher value), 1 if byte array is greater or 0 if the same

Implements

IComparable<(Of <(<'T>)>)>..::..CompareTo(T)

See Also