Send feedback on this topic.
Teradata.Client.Provider
Less Than or Equal Operator (TdIntervalDayToSecond)



Teradata.Client.Provider Namespace > TdIntervalDayToSecond Structure : Less Than or Equal Operator
An instance of TdIntervalDayToSecond.
An instance of TdIntervalDayToSecond.
This operator determines whether the left is less than or equal the right.
Syntax
'Declaration
 
Public Operator <=( _
   ByVal left As TdIntervalDayToSecond, _
   ByVal right As TdIntervalDayToSecond _
) As Boolean
'Usage
 
public bool operator <=( 
   TdIntervalDayToSecond left,
   TdIntervalDayToSecond right
)
public:
bool operator <=( 
   TdIntervalDayToSecond left,
   TdIntervalDayToSecond right
)

Parameters

left
An instance of TdIntervalDayToSecond.
right
An instance of TdIntervalDayToSecond.

Return Value

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

Return Value Description
true

left and right are not TdIntervalDayToSecond.Null and left is less than or equal to right

-or-

left is Null and right is Null.

false

The left is greater than right

-or-

Either left 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 the right if the "<=" operator 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

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members