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



Teradata.Client.Provider Namespace > TdIntervalMonth Structure : LessThan Method
An instance of TdIntervalMonth.
An instance of TdIntervalMonth.
This method determines whether the left is less than the right.
Syntax
'Declaration
 
Public Shared Function LessThan( _
   ByVal left As TdIntervalMonth, _
   ByVal right As TdIntervalMonth _
) As Boolean
'Usage
 
Dim left As TdIntervalMonth
Dim right As TdIntervalMonth
Dim value As Boolean
 
value = TdIntervalMonth.LessThan(left, right)
public static bool LessThan( 
   TdIntervalMonth left,
   TdIntervalMonth right
)
public:
static bool LessThan( 
   TdIntervalMonth left,
   TdIntervalMonth right
) 

Parameters

left
An instance of TdIntervalMonth.
right
An instance of TdIntervalMonth.

Return Value

true indicates the left is less than the right, false otherwise.

Return Value Description
true left and right are not TdIntervalMonth.Null and left is less than right.
false

The left is greater than or equal to right

-or-

left and / or right is Null.

Remarks

Comparison operators always return false if one of the operands is Null. Therefore you should not assume that the reverse condition is true. For example you cannot assume that the left is greater than or equal to the right if the LessThan method returns false.

The reverse condition is true when the left and the right are not Null.

Requirements

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

See Also

Reference

TdIntervalMonth Structure
TdIntervalMonth Members