Compares this instance with a specified Object.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentException | obj is not a FI16RGB555. |