Compare the object with another instance of this class.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int CompareTo(
	Object value
)

Parameters

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

Return Value

A signed number indicating the relative values of this instance and value: 1) greater than zero - this instance is greater than value; 2) zero - this instance is equal to value; 3) greater than zero - this instance is less than value.

Note:The sort order is descending.

Implements

IComparable..::.CompareTo(Object)

Remarks

Note:Object are compared using their intensity value.

See Also