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



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure : Compare Method
An instance of TdTimeWithTimeZone.
An instance of TdTimeWithTimeZone.
Compares two instances of TdTimeWithTimeZone and returns a value indicating whether left is greater than, less than or equal to right.
Syntax
'Declaration
 
Public Shared Function Compare( _
   ByVal left As TdTimeWithTimeZone, _
   ByVal right As TdTimeWithTimeZone _
) As Integer
'Usage
 
Dim left As TdTimeWithTimeZone
Dim right As TdTimeWithTimeZone
Dim value As Integer
 
value = TdTimeWithTimeZone.Compare(left, right)
public static int Compare( 
   TdTimeWithTimeZone left,
   TdTimeWithTimeZone right
)
public:
static int Compare( 
   TdTimeWithTimeZone left,
   TdTimeWithTimeZone right
) 

Parameters

left
An instance of TdTimeWithTimeZone.
right
An instance of TdTimeWithTimeZone.

Return Value

The result of the comparison is returned as an integer.
Remarks

The integer returned when left is compared to right indicates the following:

Return Value Meaning
Less than zero

left is less than right.

-or-

left is TdTimeWithTimeZone.Null.

Zero

left is equal to right.

-or-

left and right are Null.

Greater than zero

left is greater than right.

-or-

right is Null.

Refer to TdTimeWithTimeZone.CompareTo for more information on comparing TdTimeWithTimeZone values.

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

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
CompareTo(TdTimeWithTimeZone) Method