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



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

Parameters

other
The TdIntervalHourToSecond 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 TdIntervalHourToSecond.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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalHourToSecond Structure
TdIntervalHourToSecond Members
Overload List