Send feedback on this topic.
Teradata.Client.Provider
Equality Operator (TdIntervalYear)



Teradata.Client.Provider Namespace > TdIntervalYear Structure : Equality Operator
An instance of TdIntervalYear.
An instance of TdIntervalYear.
This operator determines whether the left and the right are equal.
Syntax
'Declaration
 
Public Operator =( _
   ByVal left As TdIntervalYear, _
   ByVal right As TdIntervalYear _
) As Boolean
'Usage
 
public bool operator ==( 
   TdIntervalYear left,
   TdIntervalYear right
)
public:
bool operator ==( 
   TdIntervalYear left,
   TdIntervalYear right
)

Parameters

left
An instance of TdIntervalYear.
right
An instance of TdIntervalYear.

Return Value

A Boolean is returned that indicates whether the two operands are equal. true indicates the two operands are equal, false otherwise.

Return Value Description
true

left is equal to right

-or-

left is TdIntervalYear.Null and right is Null.

false

left is not Null and right is Null

-or-

left is Null and right is not Null

-or-

The left is not equal to right.

Requirements

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

See Also

Reference

TdIntervalYear Structure
TdIntervalYear Members