Send feedback on this topic.
Teradata.Client.Provider
Equals(TdIntervalMinute,TdIntervalMinute) Method
Example 



Teradata.Client.Provider Namespace > TdIntervalMinute Structure > Equals Method : Equals(TdIntervalMinute,TdIntervalMinute) Method
A TdIntervalMinute instance.
A TdIntervalMinute instance.
Compares two TdIntervalMinute instances to determine whether they are equal.
Syntax
'Declaration
 
Public Overloads Shared Function Equals( _
   ByVal left As TdIntervalMinute, _
   ByVal right As TdIntervalMinute _
) As Boolean
'Usage
 
Dim left As TdIntervalMinute
Dim right As TdIntervalMinute
Dim value As Boolean
 
value = TdIntervalMinute.Equals(left, right)
public static bool Equals( 
   TdIntervalMinute left,
   TdIntervalMinute right
)
public:
static bool Equals( 
   TdIntervalMinute left,
   TdIntervalMinute right
) 

Parameters

left
A TdIntervalMinute instance.
right
A TdIntervalMinute instance.

Return Value

true if the two TdIntervalMinute instances are equal, false otherwise.
Remarks

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

Return Value Description
true

left is equal to right

-or-

left and right are TdIntervalMinute.Null.

false

left is not equal to right

-or-

left is not Null and right is Null

-or-

left is Null and right is not Null.

Example
The following code example uses various comparison methods and operators.
TdIntervalMinute firstInterval = new TdIntervalMinute(5, 15);
TdIntervalMinute secondInterval = new TdIntervalMinute(20, 15);
 
// The following comparison methods and operators are equivalent
if (false == TdIntervalMinute.Equals(firstInterval, secondInterval) ||
    firstInterval != secondInterval ||
    true == TdIntervalMinute.NotEquals(firstInterval, secondInterval) )
{
   Console.WriteLine(“firstInterval does not equal secondInterval”);
}
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

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List