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



Teradata.Client.Provider Namespace > TdIntervalDayToHour Structure : Compare Method
An instance of TdIntervalDayToHour.
An instance of TdIntervalDayToHour.
Two TdIntervalDayToHour 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 TdIntervalDayToHour, _
   ByVal right As TdIntervalDayToHour _
) As Integer
'Usage
 
Dim left As TdIntervalDayToHour
Dim right As TdIntervalDayToHour
Dim value As Integer
 
value = TdIntervalDayToHour.Compare(left, right)
public static int Compare( 
   TdIntervalDayToHour left,
   TdIntervalDayToHour right
)
public:
static int Compare( 
   TdIntervalDayToHour left,
   TdIntervalDayToHour right
) 

Parameters

left
An instance of TdIntervalDayToHour.
right
An instance of TdIntervalDayToHour.

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 TdIntervalDayToHour.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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalDayToHour Structure
TdIntervalDayToHour Members