Send feedback on this topic.
Teradata.Client.Provider
NotEquals Method (TdPeriodDate)



Teradata.Client.Provider Namespace > TdPeriodDate Structure : NotEquals Method
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 Shared Function NotEquals( _
   ByVal left As TdPeriodDate, _
   ByVal right As TdPeriodDate _
) As Boolean
'Usage
 
Dim left As TdPeriodDate
Dim right As TdPeriodDate
Dim value As Boolean
 
value = TdPeriodDate.NotEquals(left, right)
public static bool NotEquals( 
   TdPeriodDate left,
   TdPeriodDate right
)
public:
static bool NotEquals( 
   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

To determine whether two periods are not equal, the beginning and ending bounds between the left and right operands are compared. 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
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

TdPeriodDate Structure
TdPeriodDate Members