Send feedback on this topic.
Teradata.Client.Provider
GreaterThan Method (TdIntervalYearToMonth)



Teradata.Client.Provider Namespace > TdIntervalYearToMonth Structure : GreaterThan Method
An instance of TdIntervalYearToMonth.
An instance of TdIntervalYearToMonth.
Determines whether the left is greater than the right.
Syntax
'Declaration
 
Public Shared Function GreaterThan( _
   ByVal left As TdIntervalYearToMonth, _
   ByVal right As TdIntervalYearToMonth _
) As Boolean
'Usage
 
Dim left As TdIntervalYearToMonth
Dim right As TdIntervalYearToMonth
Dim value As Boolean
 
value = TdIntervalYearToMonth.GreaterThan(left, right)
public static bool GreaterThan( 
   TdIntervalYearToMonth left,
   TdIntervalYearToMonth right
)
public:
static bool GreaterThan( 
   TdIntervalYearToMonth left,
   TdIntervalYearToMonth right
) 

Parameters

left
An instance of TdIntervalYearToMonth.
right
An instance of TdIntervalYearToMonth.

Return Value

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

Return Value Description
true left and right are not TdIntervalYearToMonth.Null and left is greater than right.
false

The left is less 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 less than or equal to the right if GreaterThan 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

TdIntervalYearToMonth Structure
TdIntervalYearToMonth Members