Send feedback on this topic.
Teradata.Client.Provider
CompareTo(TdIntervalDayToSecond) Method



Teradata.Client.Provider Namespace > TdIntervalDayToSecond Structure > CompareTo Method : CompareTo(TdIntervalDayToSecond) Method
The TdIntervalDayToSecond to compare.
Compares this instance to the specified TdIntervalDayToSecond parameter other.
Syntax
'Declaration
 
Public Overloads Function CompareTo( _
   ByVal other As TdIntervalDayToSecond _
) As Integer
'Usage
 
Dim instance As TdIntervalDayToSecond
Dim other As TdIntervalDayToSecond
Dim value As Integer
 
value = instance.CompareTo(other)
public int CompareTo( 
   TdIntervalDayToSecond other
)
public:
int CompareTo( 
   TdIntervalDayToSecond other
) 

Parameters

other
The TdIntervalDayToSecond to compare.

Return Value

The result of the comparison is returned as a signed integer.
Remarks

The integer returned when this instance is compared to other indicates the following:

Return Value Meaning
Less than Zero

This instance is less than other

-or-

This instance is TdIntervalDayToSecond.Null and other is non-null.

Zero

This instance is equal to other

-or-

This instance is Null and other is Null.

Greater than Zero

This instance is greater than other

-or-

other is Null and this instance is non-null.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members
Overload List