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



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

Parameters

left
An instance of TdTimestamp.
right
An instance of TdTimestamp.

Return Value

A boolean is returned that indicates the result of the comparison.
Remarks

The value returned is true if the left is less than or equal to the right, false otherwise.

Return Value Description
true left and right are not TdTimestamp.Null and left is less than or equal to right.
false

left and / or right is Null

-or-

left is greater than right.

Comparison operators always returns false if one of the operands is Null. Therefore, you must not assume that the reverse condition is true. For example you cannot assume that the left operand is greater than the right operand if the "<=" operator returns false.

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

TdTimestamp Structure
TdTimestamp Members