Send feedback on this topic.
Teradata.Client.Provider
Inequality Operator (TdPeriodDate)



Teradata.Client.Provider Namespace > TdPeriodDate Structure : Inequality Operator
An instance of TdPeriodDate.
An instance of TdPeriodDate.
Compares two TdPeriodDate structures to determine whether the left operand is not equal to the right operand.
Syntax
'Declaration
 
Public Operator <>( _
   ByVal left As TdPeriodDate, _
   ByVal right As TdPeriodDate _
) As Boolean
'Usage
 
public bool operator !=( 
   TdPeriodDate left,
   TdPeriodDate right
)
public:
bool operator !=( 
   TdPeriodDate left,
   TdPeriodDate right
)

Parameters

left
An instance of TdPeriodDate.
right
An instance of TdPeriodDate.

Return Value

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

The beginning and ending bounds between the left and right operands are compared to determine whether the two periods are not equal. The two periods are not equal if the following is true:

    left.Begin != right.Begin || left.End != right.End

The value returned is true if the left is not equal to the right, false otherwise.

Return Value Description
true

left or right is TdPeriodDate.Null

-or-

left is less than or greater than right.

false

left and right are Null

-or-

left is equal to right.

Requirements

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

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members