Compare this ByteBuffer to other ByteBuffer.

Namespace: BasicCard
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public int CompareTo(
	Object obj
)
Visual Basic
Public Function CompareTo ( 
	obj As Object
) As Integer
Visual C++
public:
virtual int CompareTo(
	Object^ obj
) sealed
F#
abstract CompareTo : 
        obj : Object -> int 
override CompareTo : 
        obj : Object -> int 

Parameters

obj
Type: System..::..Object
Object to compare with.

Return Value

Type: Int32
-1 if less, 0 if equal or +1 if greater

Implements

IComparable..::..CompareTo(Object)

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionIf obj is not an instance of ByteBuffer.

See Also