Send feedback on this topic.
Teradata.Client.Provider
LessThanOrEqual Method (TdIntervalHour)



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

Parameters

left
An instance of TdIntervalHour.
right
An instance of TdIntervalHour.

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 TdIntervalHour.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 LessThanOrEqual method returns false.

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members