Send feedback on this topic.
Teradata.Client.Provider
Compare Method (TdIntervalHourToMinute)



Teradata.Client.Provider Namespace > TdIntervalHourToMinute Structure : Compare Method
An instance of TdIntervalHourToMinute.
An instance of TdIntervalHourToMinute.
Two TdIntervalHourToMinute intervals are compared and a value is returned that indicates left is greater than, less than or equal to right.
Syntax
'Declaration
 
Public Shared Function Compare( _
   ByVal left As TdIntervalHourToMinute, _
   ByVal right As TdIntervalHourToMinute _
) As Integer
'Usage
 
Dim left As TdIntervalHourToMinute
Dim right As TdIntervalHourToMinute
Dim value As Integer
 
value = TdIntervalHourToMinute.Compare(left, right)
public static int Compare( 
   TdIntervalHourToMinute left,
   TdIntervalHourToMinute right
)
public:
static int Compare( 
   TdIntervalHourToMinute left,
   TdIntervalHourToMinute right
) 

Parameters

left
An instance of TdIntervalHourToMinute.
right
An instance of TdIntervalHourToMinute.

Return Value

The result of the comparison is returned as a signed integer.
Remarks
Return Value Description
Less than Zero

left is less than right

-or-

left is TdIntervalHourToMinute.Null and right is not Null.

Zero

left equals right

-or-

left is Null and right is Null.

Greater than Zero

left is greater than right

-or-

left is not Null and right is 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

TdIntervalHourToMinute Structure
TdIntervalHourToMinute Members