Compares this instance with a specified Object.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public int CompareTo(
	Object obj
)
Visual Basic (Declaration)
Public Function CompareTo ( _
	obj As Object _
) As Integer
Visual C++
public:
virtual int CompareTo(
	Object^ obj
) sealed

Parameters

obj
Type: System..::.Object
An object to compare with this instance.

Return Value

A 32-bit signed integer indicating the lexical relationship between the two comparands.

Implements

IComparable..::.CompareTo(Object)

Exceptions

ExceptionCondition
System..::.ArgumentException obj is not a FI16RGB565.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also