|
TimeCompareTo(TimeSpan) Method
|
Compares this instance to a specified TimeSpan and returns an indication of their
relative values.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.275-beta+6cd8c2deb04a1aae6d4ac315ff222aabe4b2a6dd
Syntaxpublic int CompareTo(
TimeSpan value
)
Public Function CompareTo (
value As TimeSpan
) As Integer
public:
virtual int CompareTo(
TimeSpan value
) sealed
abstract CompareTo :
value : TimeSpan -> int
override CompareTo :
value : TimeSpan -> int function CompareTo(value);
View SourceParameters
- value TimeSpan
- A TimeSpan 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