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



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

Parameters

other
The TdIntervalMonth 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 TdIntervalMonth.Null and other is non-null.

Zero

This instance is equal to other

-or-

This instance is Null and value is Null.

Greater than Zero

This instance is greater than other

-or-

other is Null and this instance is non-null.

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalMonth Structure
TdIntervalMonth Members
Overload List