Click or drag to resize

TimeCompareTo(Object) Method

Compares this instance to a specified object and returns an indication of their relative values.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.275-beta+19733a4bb5ea9d8c32f2e8cf3e5325b9561051b4
Syntax
public int CompareTo(
	Object value
)
View Source

Parameters

value  Object
An object to compare, or null.

Return Value

Int32
A signed number indicating the relative values of this instance and value. Returns less than zero if this instance is less than value, zero if this instance is equal to value, or greater than zero if this instance is greater than value.

Implements

IComparableCompareTo(Object)
Exceptions
ExceptionCondition
ArgumentExceptionvalue is not a Double or Time.
See Also