Click or drag to resize

LengthCompareTo(Length) Method

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

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public int CompareTo(
	Length value
)
View Source

Parameters

value  Length
A Length to compare.

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

IComparableTCompareTo(T)
See Also