Click or drag to resize

HalfTypeCompareTo Method (Object)

Compares this instance to a specified System.Object.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
An System.Object or null.

Return Value

Type: Int32
A signed number indicating the relative values of this instance and value. Return Value Meaning Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value. -or- value is null.

Implements

IComparableCompareTo(Object)
Exceptions
ExceptionCondition
ArgumentExceptionvalue is not a System.Half
See Also